Back to index

python3.2  3.2.2
Public Member Functions | Static Private Attributes
_pyio.OpenWrapper Class Reference

List of all members.

Public Member Functions

def __new__

Static Private Attributes

tuple __doc__ = DocDescriptor()

Detailed Description

Wrapper for builtins.open

Trick so that open won't become a bound method when stored
as a class variable (as dbm.dumb does).

See initstdio() in Python/pythonrun.c.

Definition at line 232 of file _pyio.py.


Member Function Documentation

def _pyio.OpenWrapper.__new__ (   cls,
  args,
  kwargs 
)

Definition at line 242 of file _pyio.py.

00242 
00243     def __new__(cls, *args, **kwargs):
00244         return open(*args, **kwargs)
00245 
00246 
00247 # In normal operation, both `UnsupportedOperation`s should be bound to the
00248 # same object.
try:

Here is the call graph for this function:


Member Data Documentation

tuple _pyio.OpenWrapper.__doc__ = DocDescriptor() [static, private]

Definition at line 240 of file _pyio.py.


The documentation for this class was generated from the following file: