Lines Matching defs:closed
492 # (i.e. methods are cached, closed and friends are not)
533 # closed when the generator is finalized, due to PEP380 semantics.
554 deleted when it is closed unless the 'delete' argument is set to False.
566 # the file when it is closed. This is only supported by Windows.
620 name, and will cease to exist when it is closed.
735 if self._file.closed:
736 raise ValueError("Cannot enter context with closed file")
747 if not self.closed:
760 def closed(self):
761 return self._file.closed