Skip to main content

FileType

Standard library class argparse.FileType View source
class FileType
class FileType
Constructors 1
__init__
__init__(self: Self, mode: str = "r", bufsize: int = -1, encoding: Optional[str] = None, errors: Optional[str] = None, Self: type)
Defined in argparse
Special methods 2
__call__
__call__(self: Self, string: str, Self: type)
Defined in argparse
__repr__
__repr__(self: Self, Self: type)
Defined in argparse