BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

b3::lib::argparse::FileType Class Reference

List of all members.

Public Member Functions

def __init__
def __call__
def __repr__

Private Attributes

 _mode
 _bufsize

Detailed Description

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.

Constructor & Destructor Documentation

def b3::lib::argparse::FileType::__init__ (   self,
  mode = 'r',
  bufsize = None 
)

Member Function Documentation

def b3::lib::argparse::FileType::__call__ (   self,
  string 
)
def b3::lib::argparse::FileType::__repr__ (   self)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties