def _checkClosed(self, msg=None):
        if self.closed:
            raise ValueError("I/O operation on closed file."
                             if msg is None else msg)

    ### Context manager ###
this function makes sure a translated string will be prefered over an untranslated
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/_pyio.py/IOBase._checkClosed--crossover with--dataset/ETHPy150Open uwdata/termite-data-server/web2py/scripts/sync_languages.py/sync_language