PyDocs

Nav

Python Runtime Services

object.__enter__

builtins

method of object
  • object.__enter__(self)
Enter the runtime context related to this object. The with statement will bind this method’s return value to the target(s) specified in the as clause of the statement, if any.
0 Examples
No examples for builtins/object.__enter__.
See Also
No see-alsos for builtins/object.__enter__
0 Notes
No notes for object.__enter__