Public Member Functions | |
def | __call__ |
def | __init__ |
def | __repr__ |
Private Attributes | |
_bufsize | |
_mode | |
Factory for creating file object types Instances of FileType are typically passed as type= arguments to the ArgumentParser add_argument() method. Keyword Arguments: - mode -- A string indicating how the file is to be opened. Accepts the same values as the builtin open() function. - bufsize -- The file's desired buffer size. Accepts the same values as the builtin open() function.
Definition at line 1100 of file argparse.py.
def argparse.FileType.__init__ | ( | self, | |
mode = 'r' , |
|||
bufsize = None |
|||
) |
Definition at line 1113 of file argparse.py.
def argparse.FileType.__call__ | ( | self, | |
string | |||
) |
Definition at line 1117 of file argparse.py.
References argparse.FileType._bufsize, python.rootplot.argparse.FileType._bufsize, SiStripQualityHistory._mode, python.Events._mode, argparse.FileType._mode, and python.rootplot.argparse.FileType._mode.
def argparse.FileType.__repr__ | ( | self | ) |
Definition at line 1134 of file argparse.py.
References argparse.FileType._bufsize, python.rootplot.argparse.FileType._bufsize, SiStripQualityHistory._mode, python.Events._mode, argparse.FileType._mode, python.rootplot.argparse.FileType._mode, and join().
|
private |
Definition at line 1115 of file argparse.py.
Referenced by argparse.FileType.__call__(), and argparse.FileType.__repr__().
|
private |
Definition at line 1114 of file argparse.py.
Referenced by argparse.FileType.__call__(), and argparse.FileType.__repr__().