KeyShot 7.0 Scripting Documentation

built-in module builtins

builtins          index (built-in)
Built-in functions, exceptions, and other objects.
 
Noteworthy: None is the `nil' object; Ellipsis represents `...' in slices.
  Classes
Base class for arithmetic errors.
 

Method resolution order:
ArithmeticError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Assertion failed.
 

Method resolution order:
AssertionError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Attribute not found.
 

Method resolution order:
AttributeError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Common base class for all exceptions
 

Methods defined here:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors defined here:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
I/O operation would block.
 

Method resolution order:
BlockingIOError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Broken pipe.
 

Method resolution order:
BrokenPipeError
ConnectionError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Buffer error.
 

Method resolution order:
BufferError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warnings about bytes and buffer related problems, mostly
related to conversion from str or comparing to str.
 

Method resolution order:
BytesWarning
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Child process error.
 

Method resolution order:
ChildProcessError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Connection aborted.
 

Method resolution order:
ConnectionAbortedError
ConnectionError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Connection error.
 

Method resolution order:
ConnectionError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Connection refused.
 

Method resolution order:
ConnectionRefusedError
ConnectionError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Connection reset.
 

Method resolution order:
ConnectionResetError
ConnectionError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warnings about deprecated features.
 

Method resolution order:
DeprecationWarning
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Read beyond end of file.
 

Method resolution order:
EOFError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for I/O related errors.
 

Method resolution order:
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors defined here:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Common base class for all non-exit exceptions.
 

Method resolution order:
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
File already exists.
 

Method resolution order:
FileExistsError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
File not found.
 

Method resolution order:
FileNotFoundError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Floating point operation failed.
 

Method resolution order:
FloatingPointError
ArithmeticError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warnings about constructs that will change semantically
in the future.
 

Method resolution order:
FutureWarning
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Request that a generator exit.
 

Method resolution order:
GeneratorExit
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for I/O related errors.
 

Method resolution order:
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors defined here:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Import can't find module, or can't find name in module.
 

Method resolution order:
ImportError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__str__(self, /)
Return str(self).

Data descriptors defined here:
msg
exception message
name
module name
path
module path

Methods inherited from Exception:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warnings about probable mistakes in module imports
 

Method resolution order:
ImportWarning
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Improper indentation.
 

Method resolution order:
IndentationError
SyntaxError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from SyntaxError:
__str__(self, /)
Return str(self).

Data descriptors inherited from SyntaxError:
filename
exception filename
lineno
exception lineno
msg
exception msg
offset
exception offset
print_file_and_line
exception print_file_and_line
text
exception text

Methods inherited from Exception:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Sequence index out of range.
 

Method resolution order:
IndexError
LookupError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Interrupted by signal.
 

Method resolution order:
InterruptedError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Operation doesn't work on directories.
 

Method resolution order:
IsADirectoryError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Mapping key not found.
 

Method resolution order:
KeyError
LookupError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__str__(self, /)
Return str(self).

Methods inherited from LookupError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Program interrupted by user.
 

Method resolution order:
KeyboardInterrupt
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for lookup errors.
 

Method resolution order:
LookupError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Out of memory.
 

Method resolution order:
MemoryError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Name not found globally.
 

Method resolution order:
NameError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Operation only works on directories.
 

Method resolution order:
NotADirectoryError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Method or function hasn't been implemented yet.
 

Method resolution order:
NotImplementedError
RuntimeError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for I/O related errors.
 

Method resolution order:
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors defined here:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Result too large to be represented.
 

Method resolution order:
OverflowError
ArithmeticError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warnings about features which will be deprecated
in the future.
 

Method resolution order:
PendingDeprecationWarning
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Not enough permissions.
 

Method resolution order:
PermissionError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Process not found.
 

Method resolution order:
ProcessLookupError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Weak ref proxy used after referent went away.
 

Method resolution order:
ReferenceError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warnings about resource usage.
 

Method resolution order:
ResourceWarning
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Unspecified run-time error.
 

Method resolution order:
RuntimeError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warnings about dubious runtime behavior.
 

Method resolution order:
RuntimeWarning
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Signal the end from iterator.__next__().
 

Method resolution order:
StopIteration
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Data descriptors defined here:
value
generator return value

Methods inherited from Exception:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Invalid syntax.
 

Method resolution order:
SyntaxError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__str__(self, /)
Return str(self).

Data descriptors defined here:
filename
exception filename
lineno
exception lineno
msg
exception msg
offset
exception offset
print_file_and_line
exception print_file_and_line
text
exception text

Methods inherited from Exception:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warnings about dubious syntax.
 

Method resolution order:
SyntaxWarning
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Internal error in the Python interpreter.
 
Please report this to the Python maintainer, along with the traceback,
the Python version, and the hardware/OS platform and version.
 

Method resolution order:
SystemError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Request to exit from the interpreter.
 

Method resolution order:
SystemExit
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Data descriptors defined here:
code
exception code

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Improper mixture of spaces and tabs.
 

Method resolution order:
TabError
IndentationError
SyntaxError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from SyntaxError:
__str__(self, /)
Return str(self).

Data descriptors inherited from SyntaxError:
filename
exception filename
lineno
exception lineno
msg
exception msg
offset
exception offset
print_file_and_line
exception print_file_and_line
text
exception text

Methods inherited from Exception:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Timeout expired.
 

Method resolution order:
TimeoutError
OSError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Methods inherited from OSError:
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__str__(self, /)
Return str(self).

Data descriptors inherited from OSError:
characters_written
errno
POSIX exception code
filename
exception filename
filename2
second exception filename
strerror
exception strerror

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Inappropriate argument type.
 

Method resolution order:
TypeError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Local name referenced but not bound to a value.
 

Method resolution order:
UnboundLocalError
NameError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Unicode decoding error.
 

Method resolution order:
UnicodeDecodeError
UnicodeError
ValueError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__str__(self, /)
Return str(self).

Data descriptors defined here:
encoding
exception encoding
end
exception end
object
exception object
reason
exception reason
start
exception start

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Unicode encoding error.
 

Method resolution order:
UnicodeEncodeError
UnicodeError
ValueError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__str__(self, /)
Return str(self).

Data descriptors defined here:
encoding
exception encoding
end
exception end
object
exception object
reason
exception reason
start
exception start

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Unicode related error.
 

Method resolution order:
UnicodeError
ValueError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Unicode translation error.
 

Method resolution order:
UnicodeTranslateError
UnicodeError
ValueError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__str__(self, /)
Return str(self).

Data descriptors defined here:
encoding
exception encoding
end
exception end
object
exception object
reason
exception reason
start
exception start

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warnings about Unicode related problems, mostly
related to conversion problems.
 

Method resolution order:
UnicodeWarning
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warnings generated by user code.
 

Method resolution order:
UserWarning
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Inappropriate argument value (of correct type).
 

Method resolution order:
ValueError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Base class for warning categories.
 

Method resolution order:
Warning
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
Second argument to a division or modulo operation was zero.
 

Method resolution order:
ZeroDivisionError
ArithmeticError
Exception
BaseException
object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Methods inherited from BaseException:
__delattr__(self, name, /)
Implement delattr(self, name).
__getattribute__(self, name, /)
Return getattr(self, name).
__reduce__(...)
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__setstate__(...)
__str__(self, /)
Return str(self).
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.

Data descriptors inherited from BaseException:
__cause__
exception cause
__context__
exception context
__dict__
__suppress_context__
__traceback__
args
bool(x) -> bool
 
Returns True when the argument x is true, False otherwise.
The builtins True and False are the only two instances of the class bool.
The class bool is a subclass of the class int, and cannot be subclassed.
 

Method resolution order:
bool
int
object

Methods defined here:
__and__(self, value, /)
Return self&value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__or__(self, value, /)
Return self|value.
__rand__(self, value, /)
Return value&self.
__repr__(self, /)
Return repr(self).
__ror__(self, value, /)
Return value|self.
__rxor__(self, value, /)
Return value^self.
__str__(self, /)
Return str(self).
__xor__(self, value, /)
Return self^value.

Methods inherited from int:
__abs__(self, /)
abs(self)
__add__(self, value, /)
Return self+value.
__bool__(self, /)
self != 0
__ceil__(...)
Ceiling of an Integral returns itself.
__divmod__(self, value, /)
Return divmod(self, value).
__eq__(self, value, /)
Return self==value.
__float__(self, /)
float(self)
__floor__(...)
Flooring an Integral returns itself.
__floordiv__(self, value, /)
Return self//value.
__format__(...)
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getnewargs__(...)
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__index__(self, /)
Return self converted to an integer, if self is suitable for use as an index into a list.
__int__(self, /)
int(self)
__invert__(self, /)
~self
__le__(self, value, /)
Return self<=value.
__lshift__(self, value, /)
Return self<<value.
__lt__(self, value, /)
Return self<value.
__mod__(self, value, /)
Return self%value.
__mul__(self, value, /)
Return self*value.
__ne__(self, value, /)
Return self!=value.
__neg__(self, /)
-self
__pos__(self, /)
+self
__pow__(self, value, mod=None, /)
Return pow(self, value, mod).
__radd__(self, value, /)
Return value+self.
__rdivmod__(self, value, /)
Return divmod(value, self).
__rfloordiv__(self, value, /)
Return value//self.
__rlshift__(self, value, /)
Return value<<self.
__rmod__(self, value, /)
Return value%self.
__rmul__(self, value, /)
Return value*self.
__round__(...)
Rounding an Integral returns itself.
Rounding with an ndigits argument also returns an integer.
__rpow__(self, value, mod=None, /)
Return pow(value, self, mod).
__rrshift__(self, value, /)
Return value>>self.
__rshift__(self, value, /)
Return self>>value.
__rsub__(self, value, /)
Return value-self.
__rtruediv__(self, value, /)
Return value/self.
__sizeof__(...)
Returns size in memory, in bytes
__sub__(self, value, /)
Return self-value.
__truediv__(self, value, /)
Return self/value.
__trunc__(...)
Truncating an Integral returns itself.
bit_length(...)
int.bit_length() -> int
 
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
conjugate(...)
Returns self, the complex conjugate of any int.
from_bytes(...) from type
int.from_bytes(bytes, byteorder, *, signed=False) -> int
 
Return the integer represented by the given array of bytes.
 
The bytes argument must either support the buffer protocol or be an
iterable object producing bytes.  Bytes and bytearray are examples of
built-in objects that support the buffer protocol.
 
The byteorder argument determines the byte order used to represent the
integer.  If byteorder is 'big', the most significant byte is at the
beginning of the byte array.  If byteorder is 'little', the most
significant byte is at the end of the byte array.  To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
 
The signed keyword-only argument indicates whether two's complement is
used to represent the integer.
to_bytes(...)
int.to_bytes(length, byteorder, *, signed=False) -> bytes
 
Return an array of bytes representing an integer.
 
The integer is represented using length bytes.  An OverflowError is
raised if the integer is not representable with the given number of
bytes.
 
The byteorder argument determines the byte order used to represent the
integer.  If byteorder is 'big', the most significant byte is at the
beginning of the byte array.  If byteorder is 'little', the most
significant byte is at the end of the byte array.  To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
 
The signed keyword-only argument determines whether two's complement is
used to represent the integer.  If signed is False and a negative integer
is given, an OverflowError is raised.

Data descriptors inherited from int:
denominator
the denominator of a rational number in lowest terms
imag
the imaginary part of a complex number
numerator
the numerator of a rational number in lowest terms
real
the real part of a complex number
bytearray(iterable_of_ints) -> bytearray
bytearray(string, encoding[, errors]) -> bytearray
bytearray(bytes_or_buffer) -> mutable copy of bytes_or_buffer
bytearray(int) -> bytes array of size given by the parameter initialized with null bytes
bytearray() -> empty bytes array
 
Construct an mutable bytearray object from:
  - an iterable yielding integers in range(256)
  - a text string encoded using the specified encoding
  - a bytes or a buffer object
  - any object implementing the buffer API.
  - an integer
 

Methods defined here:
__add__(self, value, /)
Return self+value.
__alloc__(...)
B.__alloc__() -> int
 
Return the number of bytes actually allocated.
__contains__(self, key, /)
Return key in self.
__delitem__(self, key, /)
Delete self[key].
__eq__(self, value, /)
Return self==value.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getitem__(self, key, /)
Return self[key].
__gt__(self, value, /)
Return self>value.
__iadd__(self, value, /)
Implement self+=value.
__imul__(self, value, /)
Implement self*=value.
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__iter__(self, /)
Implement iter(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__mul__(self, value, /)
Return self*value.n
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
Return state information for pickling.
__reduce_ex__(...)
Return state information for pickling.
__repr__(self, /)
Return repr(self).
__rmul__(self, value, /)
Return self*value.
__setitem__(self, key, value, /)
Set self[key] to value.
__sizeof__(...)
B.__sizeof__() -> int
 
Returns the size of B in memory, in bytes
__str__(self, /)
Return str(self).
append(...)
B.append(int) -> None
 
Append a single item to the end of B.
capitalize(...)
B.capitalize() -> copy of B
 
Return a copy of B with only its first character capitalized (ASCII)
and the rest lower-cased.
center(...)
B.center(width[, fillchar]) -> copy of B
 
Return B centered in a string of length width.  Padding is
done using the specified fill character (default is a space).
clear(...)
B.clear() -> None
 
Remove all items from B.
copy(...)
B.copy() -> bytearray
 
Return a copy of B.
count(...)
B.count(sub[, start[, end]]) -> int
 
Return the number of non-overlapping occurrences of subsection sub in
bytes B[start:end].  Optional arguments start and end are interpreted
as in slice notation.
decode(...)
B.decode(encoding='utf-8', errors='strict') -> str
 
Decode B using the codec registered for encoding. Default encoding
is 'utf-8'. errors may be given to set a different error
handling scheme.  Default is 'strict' meaning that encoding errors raise
UnicodeDecodeError.  Other possible values are 'ignore' and 'replace'
as well as any other name registered with codecs.register_error that is
able to handle UnicodeDecodeErrors.
endswith(...)
B.endswith(suffix[, start[, end]]) -> bool
 
Return True if B ends with the specified suffix, False otherwise.
With optional start, test B beginning at that position.
With optional end, stop comparing B at that position.
suffix can also be a tuple of bytes to try.
expandtabs(...)
B.expandtabs(tabsize=8) -> copy of B
 
Return a copy of B where all tab characters are expanded using spaces.
If tabsize is not given, a tab size of 8 characters is assumed.
extend(...)
B.extend(iterable_of_ints) -> None
 
Append all the elements from the iterator or sequence to the
end of B.
find(...)
B.find(sub[, start[, end]]) -> int
 
Return the lowest index in B where subsection sub is found,
such that sub is contained within B[start,end].  Optional
arguments start and end are interpreted as in slice notation.
 
Return -1 on failure.
fromhex(...) from type
bytearray.fromhex(string) -> bytearray (static method)
 
Create a bytearray object from a string of hexadecimal numbers.
Spaces between two numbers are accepted.
Example: bytearray.fromhex('B9 01EF') -> bytearray(b'\xb9\x01\xef').
index(...)
B.index(sub[, start[, end]]) -> int
 
Like B.find() but raise ValueError when the subsection is not found.
insert(...)
B.insert(index, int) -> None
 
Insert a single item into the bytearray before the given index.
isalnum(...)
B.isalnum() -> bool
 
Return True if all characters in B are alphanumeric
and there is at least one character in B, False otherwise.
isalpha(...)
B.isalpha() -> bool
 
Return True if all characters in B are alphabetic
and there is at least one character in B, False otherwise.
isdigit(...)
B.isdigit() -> bool
 
Return True if all characters in B are digits
and there is at least one character in B, False otherwise.
islower(...)
B.islower() -> bool
 
Return True if all cased characters in B are lowercase and there is
at least one cased character in B, False otherwise.
isspace(...)
B.isspace() -> bool
 
Return True if all characters in B are whitespace
and there is at least one character in B, False otherwise.
istitle(...)
B.istitle() -> bool
 
Return True if B is a titlecased string and there is at least one
character in B, i.e. uppercase characters may only follow uncased
characters and lowercase characters only cased ones. Return False
otherwise.
isupper(...)
B.isupper() -> bool
 
Return True if all cased characters in B are uppercase and there is
at least one cased character in B, False otherwise.
join(...)
B.join(iterable_of_bytes) -> bytearray
 
Concatenate any number of bytes/bytearray objects, with B
in between each pair, and return the result as a new bytearray.
ljust(...)
B.ljust(width[, fillchar]) -> copy of B
 
Return B left justified in a string of length width. Padding is
done using the specified fill character (default is a space).
lower(...)
B.lower() -> copy of B
 
Return a copy of B with all ASCII characters converted to lowercase.
lstrip(...)
B.lstrip([bytes]) -> bytearray
 
Strip leading bytes contained in the argument
and return the result as a new bytearray.
If the argument is omitted, strip leading ASCII whitespace.
partition(...)
B.partition(sep) -> (head, sep, tail)
 
Search for the separator sep in B, and return the part before it,
the separator itself, and the part after it.  If the separator is not
found, returns B and two empty bytearray objects.
pop(...)
B.pop([index]) -> int
 
Remove and return a single item from B. If no index
argument is given, will pop the last value.
remove(...)
B.remove(int) -> None
 
Remove the first occurrence of a value in B.
replace(...)
B.replace(old, new[, count]) -> bytearray
 
Return a copy of B with all occurrences of subsection
old replaced by new.  If the optional argument count is
given, only the first count occurrences are replaced.
reverse(...)
B.reverse() -> None
 
Reverse the order of the values in B in place.
rfind(...)
B.rfind(sub[, start[, end]]) -> int
 
Return the highest index in B where subsection sub is found,
such that sub is contained within B[start,end].  Optional
arguments start and end are interpreted as in slice notation.
 
Return -1 on failure.
rindex(...)
B.rindex(sub[, start[, end]]) -> int
 
Like B.rfind() but raise ValueError when the subsection is not found.
rjust(...)
B.rjust(width[, fillchar]) -> copy of B
 
Return B right justified in a string of length width. Padding is
done using the specified fill character (default is a space)
rpartition(...)
B.rpartition(sep) -> (head, sep, tail)
 
Search for the separator sep in B, starting at the end of B,
and return the part before it, the separator itself, and the
part after it.  If the separator is not found, returns two empty
bytearray objects and B.
rsplit(...)
B.rsplit(sep=None, maxsplit=-1) -> list of bytearrays
 
Return a list of the sections in B, using sep as the delimiter,
starting at the end of B and working to the front.
If sep is not given, B is split on ASCII whitespace characters
(space, tab, return, newline, formfeed, vertical tab).
If maxsplit is given, at most maxsplit splits are done.
rstrip(...)
B.rstrip([bytes]) -> bytearray
 
Strip trailing bytes contained in the argument
and return the result as a new bytearray.
If the argument is omitted, strip trailing ASCII whitespace.
split(...)
B.split(sep=None, maxsplit=-1) -> list of bytearrays
 
Return a list of the sections in B, using sep as the delimiter.
If sep is not given, B is split on ASCII whitespace characters
(space, tab, return, newline, formfeed, vertical tab).
If maxsplit is given, at most maxsplit splits are done.
splitlines(...)
B.splitlines([keepends]) -> list of lines
 
Return a list of the lines in B, breaking at line boundaries.
Line breaks are not included in the resulting list unless keepends
is given and true.
startswith(...)
B.startswith(prefix[, start[, end]]) -> bool
 
Return True if B starts with the specified prefix, False otherwise.
With optional start, test B beginning at that position.
With optional end, stop comparing B at that position.
prefix can also be a tuple of bytes to try.
strip(...)
B.strip([bytes]) -> bytearray
 
Strip leading and trailing bytes contained in the argument
and return the result as a new bytearray.
If the argument is omitted, strip ASCII whitespace.
swapcase(...)
B.swapcase() -> copy of B
 
Return a copy of B with uppercase ASCII characters converted
to lowercase ASCII and vice versa.
title(...)
B.title() -> copy of B
 
Return a titlecased version of B, i.e. ASCII words start with uppercase
characters, all remaining cased characters have lowercase.
translate(...)
B.translate(table[, deletechars]) -> bytearray
 
Return a copy of B, where all characters occurring in the
optional argument deletechars are removed, and the remaining
characters have been mapped through the given translation
table, which must be a bytes object of length 256.
upper(...)
B.upper() -> copy of B
 
Return a copy of B with all ASCII characters converted to uppercase.
zfill(...)
B.zfill(width) -> copy of B
 
Pad a numeric string B with zeros on the left, to fill a field
of the specified width.  B is never truncated.

Static methods defined here:
maketrans(...)
B.maketrans(frm, to) -> translation table
 
Return a translation table (a bytes object of length 256) suitable
for use in the bytes or bytearray translate method where each byte
in frm is mapped to the byte at the same position in to.
The bytes objects frm and to must be of the same length.

Data and other attributes defined here:
__hash__ = None
bytes(iterable_of_ints) -> bytes
bytes(string, encoding[, errors]) -> bytes
bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer
bytes(int) -> bytes object of size given by the parameter initialized with null bytes
bytes() -> empty bytes object
 
Construct an immutable array of bytes from:
  - an iterable yielding integers in range(256)
  - a text string encoded using the specified encoding
  - any object implementing the buffer API.
  - an integer
 

Methods defined here:
__add__(self, value, /)
Return self+value.
__contains__(self, key, /)
Return key in self.
__eq__(self, value, /)
Return self==value.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getitem__(self, key, /)
Return self[key].
__getnewargs__(...)
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__iter__(self, /)
Implement iter(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__mul__(self, value, /)
Return self*value.n
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__repr__(self, /)
Return repr(self).
__rmul__(self, value, /)
Return self*value.
__sizeof__(...)
B.__sizeof__() -> size of B in memory, in bytes
__str__(self, /)
Return str(self).
capitalize(...)
B.capitalize() -> copy of B
 
Return a copy of B with only its first character capitalized (ASCII)
and the rest lower-cased.
center(...)
B.center(width[, fillchar]) -> copy of B
 
Return B centered in a string of length width.  Padding is
done using the specified fill character (default is a space).
count(...)
B.count(sub[, start[, end]]) -> int
 
Return the number of non-overlapping occurrences of substring sub in
string B[start:end].  Optional arguments start and end are interpreted
as in slice notation.
decode(...)
B.decode(encoding='utf-8', errors='strict') -> str
 
Decode B using the codec registered for encoding. Default encoding
is 'utf-8'. errors may be given to set a different error
handling scheme.  Default is 'strict' meaning that encoding errors raise
UnicodeDecodeError.  Other possible values are 'ignore' and 'replace'
as well as any other name registerd with codecs.register_error that is
able to handle UnicodeDecodeErrors.
endswith(...)
B.endswith(suffix[, start[, end]]) -> bool
 
Return True if B ends with the specified suffix, False otherwise.
With optional start, test B beginning at that position.
With optional end, stop comparing B at that position.
suffix can also be a tuple of bytes to try.
expandtabs(...)
B.expandtabs(tabsize=8) -> copy of B
 
Return a copy of B where all tab characters are expanded using spaces.
If tabsize is not given, a tab size of 8 characters is assumed.
find(...)
B.find(sub[, start[, end]]) -> int
 
Return the lowest index in B where substring sub is found,
such that sub is contained within B[start:end].  Optional
arguments start and end are interpreted as in slice notation.
 
Return -1 on failure.
fromhex(...) from type
bytes.fromhex(string) -> bytes
 
Create a bytes object from a string of hexadecimal numbers.
Spaces between two numbers are accepted.
Example: bytes.fromhex('B9 01EF') -> b'\xb9\x01\xef'.
index(...)
B.index(sub[, start[, end]]) -> int
 
Like B.find() but raise ValueError when the substring is not found.
isalnum(...)
B.isalnum() -> bool
 
Return True if all characters in B are alphanumeric
and there is at least one character in B, False otherwise.
isalpha(...)
B.isalpha() -> bool
 
Return True if all characters in B are alphabetic
and there is at least one character in B, False otherwise.
isdigit(...)
B.isdigit() -> bool
 
Return True if all characters in B are digits
and there is at least one character in B, False otherwise.
islower(...)
B.islower() -> bool
 
Return True if all cased characters in B are lowercase and there is
at least one cased character in B, False otherwise.
isspace(...)
B.isspace() -> bool
 
Return True if all characters in B are whitespace
and there is at least one character in B, False otherwise.
istitle(...)
B.istitle() -> bool
 
Return True if B is a titlecased string and there is at least one
character in B, i.e. uppercase characters may only follow uncased
characters and lowercase characters only cased ones. Return False
otherwise.
isupper(...)
B.isupper() -> bool
 
Return True if all cased characters in B are uppercase and there is
at least one cased character in B, False otherwise.
join(...)
B.join(iterable_of_bytes) -> bytes
 
Concatenate any number of bytes objects, with B in between each pair.
Example: b'.'.join([b'ab', b'pq', b'rs']) -> b'ab.pq.rs'.
ljust(...)
B.ljust(width[, fillchar]) -> copy of B
 
Return B left justified in a string of length width. Padding is
done using the specified fill character (default is a space).
lower(...)
B.lower() -> copy of B
 
Return a copy of B with all ASCII characters converted to lowercase.
lstrip(...)
B.lstrip([bytes]) -> bytes
 
Strip leading bytes contained in the argument.
If the argument is omitted, strip leading ASCII whitespace.
partition(...)
B.partition(sep) -> (head, sep, tail)
 
Search for the separator sep in B, and return the part before it,
the separator itself, and the part after it.  If the separator is not
found, returns B and two empty bytes objects.
replace(...)
B.replace(old, new[, count]) -> bytes
 
Return a copy of B with all occurrences of subsection
old replaced by new.  If the optional argument count is
given, only first count occurances are replaced.
rfind(...)
B.rfind(sub[, start[, end]]) -> int
 
Return the highest index in B where substring sub is found,
such that sub is contained within B[start:end].  Optional
arguments start and end are interpreted as in slice notation.
 
Return -1 on failure.
rindex(...)
B.rindex(sub[, start[, end]]) -> int
 
Like B.rfind() but raise ValueError when the substring is not found.
rjust(...)
B.rjust(width[, fillchar]) -> copy of B
 
Return B right justified in a string of length width. Padding is
done using the specified fill character (default is a space)
rpartition(...)
B.rpartition(sep) -> (head, sep, tail)
 
Search for the separator sep in B, starting at the end of B,
and return the part before it, the separator itself, and the
part after it.  If the separator is not found, returns two empty
bytes objects and B.
rsplit(...)
B.rsplit(sep=None, maxsplit=-1) -> list of bytes
 
Return a list of the sections in B, using sep as the delimiter,
starting at the end of B and working to the front.
If sep is not given, B is split on ASCII whitespace characters
(space, tab, return, newline, formfeed, vertical tab).
If maxsplit is given, at most maxsplit splits are done.
rstrip(...)
B.rstrip([bytes]) -> bytes
 
Strip trailing bytes contained in the argument.
If the argument is omitted, strip trailing ASCII whitespace.
split(...)
B.split(sep=None, maxsplit=-1) -> list of bytes
 
Return a list of the sections in B, using sep as the delimiter.
If sep is not specified or is None, B is split on ASCII whitespace
characters (space, tab, return, newline, formfeed, vertical tab).
If maxsplit is given, at most maxsplit splits are done.
splitlines(...)
B.splitlines([keepends]) -> list of lines
 
Return a list of the lines in B, breaking at line boundaries.
Line breaks are not included in the resulting list unless keepends
is given and true.
startswith(...)
B.startswith(prefix[, start[, end]]) -> bool
 
Return True if B starts with the specified prefix, False otherwise.
With optional start, test B beginning at that position.
With optional end, stop comparing B at that position.
prefix can also be a tuple of bytes to try.
strip(...)
B.strip([bytes]) -> bytes
 
Strip leading and trailing bytes contained in the argument.
If the argument is omitted, strip leading and trailing ASCII whitespace.
swapcase(...)
B.swapcase() -> copy of B
 
Return a copy of B with uppercase ASCII characters converted
to lowercase ASCII and vice versa.
title(...)
B.title() -> copy of B
 
Return a titlecased version of B, i.e. ASCII words start with uppercase
characters, all remaining cased characters have lowercase.
translate(...)
B.translate(table[, deletechars]) -> bytes
 
Return a copy of B, where all characters occurring in the
optional argument deletechars are removed, and the remaining
characters have been mapped through the given translation
table, which must be a bytes object of length 256.
upper(...)
B.upper() -> copy of B
 
Return a copy of B with all ASCII characters converted to uppercase.
zfill(...)
B.zfill(width) -> copy of B
 
Pad a numeric string B with zeros on the left, to fill a field
of the specified width.  B is never truncated.

Static methods defined here:
maketrans(...)
B.maketrans(frm, to) -> translation table
 
Return a translation table (a bytes object of length 256) suitable
for use in the bytes or bytearray translate method where each byte
in frm is mapped to the byte at the same position in to.
The bytes objects frm and to must be of the same length.
classmethod(function) -> method
 
Convert a function to be a class method.
 
A class method receives the class as implicit first argument,
just like an instance method receives the instance.
To declare a class method, use this idiom:
 
  class C:
      def f(cls, arg1, arg2, ...): ...
      f = classmethod(f)
 
It can be called either on the class (e.g. C.f()) or on an instance
(e.g. C().f()).  The instance is ignored except for its class.
If a class method is called for a derived class, the derived class
object is passed as the implied first argument.
 
Class methods are different than C++ or Java static methods.
If you want those, see the staticmethod builtin.
 

Methods defined here:
__get__(self, instance, owner, /)
Return an attribute of instance, which is of type owner.
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Data descriptors defined here:
__dict__
__func__
__isabstractmethod__
complex(real[, imag]) -> complex number
 
Create a complex number from a real part and an optional imaginary part.
This is equivalent to (real + imag*1j) where imag defaults to 0.
 

Methods defined here:
__abs__(self, /)
abs(self)
__add__(self, value, /)
Return self+value.
__bool__(self, /)
self != 0
__divmod__(self, value, /)
Return divmod(self, value).
__eq__(self, value, /)
Return self==value.
__float__(self, /)
float(self)
__floordiv__(self, value, /)
Return self//value.
__format__(...)
complex.__format__() -> str
 
Convert to a string according to format_spec.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getnewargs__(...)
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__int__(self, /)
int(self)
__le__(self, value, /)
Return self<=value.
__lt__(self, value, /)
Return self<value.
__mod__(self, value, /)
Return self%value.
__mul__(self, value, /)
Return self*value.
__ne__(self, value, /)
Return self!=value.
__neg__(self, /)
-self
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__pos__(self, /)
+self
__pow__(self, value, mod=None, /)
Return pow(self, value, mod).
__radd__(self, value, /)
Return value+self.
__rdivmod__(self, value, /)
Return divmod(value, self).
__repr__(self, /)
Return repr(self).
__rfloordiv__(self, value, /)
Return value//self.
__rmod__(self, value, /)
Return value%self.
__rmul__(self, value, /)
Return value*self.
__rpow__(self, value, mod=None, /)
Return pow(value, self, mod).
__rsub__(self, value, /)
Return value-self.
__rtruediv__(self, value, /)
Return value/self.
__str__(self, /)
Return str(self).
__sub__(self, value, /)
Return self-value.
__truediv__(self, value, /)
Return self/value.
conjugate(...)
complex.conjugate() -> complex
 
Return the complex conjugate of its argument. (3-4j).conjugate() == 3+4j.

Data descriptors defined here:
imag
the imaginary part of a complex number
real
the real part of a complex number
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
    d = {}
    for k, v in iterable:
        d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
    in the keyword argument list.  For example:  dict(one=1, two=2)
 

Methods defined here:
__contains__(self, key, /)
True if D has a key k, else False.
__delitem__(self, key, /)
Delete self[key].
__eq__(self, value, /)
Return self==value.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getitem__(...)
x.__getitem__(y) <==> x[y]
__gt__(self, value, /)
Return self>value.
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__iter__(self, /)
Implement iter(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__repr__(self, /)
Return repr(self).
__setitem__(self, key, value, /)
Set self[key] to value.
__sizeof__(...)
D.__sizeof__() -> size of D in memory, in bytes
clear(...)
D.clear() -> None.  Remove all items from D.
copy(...)
D.copy() -> a shallow copy of D
fromkeys(iterable, value=None, /) from type
Returns a new dict with keys from iterable and values equal to value.
get(...)
D.get(k[,d]) -> D[k] if k in D, else d.  d defaults to None.
items(...)
D.items() -> a set-like object providing a view on D's items
keys(...)
D.keys() -> a set-like object providing a view on D's keys
pop(...)
D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
If key is not found, d is returned if given, otherwise KeyError is raised
popitem(...)
D.popitem() -> (k, v), remove and return some (key, value) pair as a
2-tuple; but raise KeyError if D is empty.
setdefault(...)
D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D
update(...)
D.update([E, ]**F) -> None.  Update D from dict/iterable E and F.
If E is present and has a .keys() method, then does:  for k in E: D[k] = E[k]
If E is present and lacks a .keys() method, then does:  for k, v in E: D[k] = v
In either case, this is followed by: for k in F:  D[k] = F[k]
values(...)
D.values() -> an object providing a view on D's values

Data and other attributes defined here:
__hash__ = None
enumerate(iterable[, start]) -> iterator for index, value of iterable
 
Return an enumerate object.  iterable must be another object that supports
iteration.  The enumerate object yields pairs containing a count (from
start, which defaults to zero) and a value yielded by the iterable argument.
enumerate is useful for obtaining an indexed list:
    (0, seq[0]), (1, seq[1]), (2, seq[2]), ...
 

Methods defined here:
__getattribute__(self, name, /)
Return getattr(self, name).
__iter__(self, /)
Implement iter(self).
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__next__(self, /)
Implement next(self).
__reduce__(...)
Return state information for pickling.
filter(function or None, iterable) --> filter object
 
Return an iterator yielding those items of iterable for which function(item)
is true. If function is None, return the items that are true.
 

Methods defined here:
__getattribute__(self, name, /)
Return getattr(self, name).
__iter__(self, /)
Implement iter(self).
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__next__(self, /)
Implement next(self).
__reduce__(...)
Return state information for pickling.
float(x) -> floating point number
 
Convert a string or number to a floating point number, if possible.
 

Methods defined here:
__abs__(self, /)
abs(self)
__add__(self, value, /)
Return self+value.
__bool__(self, /)
self != 0
__divmod__(self, value, /)
Return divmod(self, value).
__eq__(self, value, /)
Return self==value.
__float__(self, /)
float(self)
__floordiv__(self, value, /)
Return self//value.
__format__(...)
float.__format__(format_spec) -> string
 
Formats the float according to format_spec.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getformat__(...) from type
float.__getformat__(typestr) -> string
 
You probably don't want to use this function.  It exists mainly to be
used in Python's test suite.
 
typestr must be 'double' or 'float'.  This function returns whichever of
'unknown', 'IEEE, big-endian' or 'IEEE, little-endian' best describes the
format of floating point numbers used by the C type named by typestr.
__getnewargs__(...)
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__int__(self, /)
int(self)
__le__(self, value, /)
Return self<=value.
__lt__(self, value, /)
Return self<value.
__mod__(self, value, /)
Return self%value.
__mul__(self, value, /)
Return self*value.
__ne__(self, value, /)
Return self!=value.
__neg__(self, /)
-self
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__pos__(self, /)
+self
__pow__(self, value, mod=None, /)
Return pow(self, value, mod).
__radd__(self, value, /)
Return value+self.
__rdivmod__(self, value, /)
Return divmod(value, self).
__repr__(self, /)
Return repr(self).
__rfloordiv__(self, value, /)
Return value//self.
__rmod__(self, value, /)
Return value%self.
__rmul__(self, value, /)
Return value*self.
__round__(...)
Return the Integral closest to x, rounding half toward even.
When an argument is passed, work like built-in round(x, ndigits).
__rpow__(self, value, mod=None, /)
Return pow(value, self, mod).
__rsub__(self, value, /)
Return value-self.
__rtruediv__(self, value, /)
Return value/self.
__setformat__(...) from type
float.__setformat__(typestr, fmt) -> None
 
You probably don't want to use this function.  It exists mainly to be
used in Python's test suite.
 
typestr must be 'double' or 'float'.  fmt must be one of 'unknown',
'IEEE, big-endian' or 'IEEE, little-endian', and in addition can only be
one of the latter two if it appears to match the underlying C reality.
 
Override the automatic determination of C-level floating point type.
This affects how floats are converted to and from binary strings.
__str__(self, /)
Return str(self).
__sub__(self, value, /)
Return self-value.
__truediv__(self, value, /)
Return self/value.
__trunc__(...)
Return the Integral closest to x between 0 and x.
as_integer_ratio(...)
float.as_integer_ratio() -> (intint)
 
Return a pair of integers, whose ratio is exactly equal to the original
float and with a positive denominator.
Raise OverflowError on infinities and a ValueError on NaNs.
 
>>> (10.0).as_integer_ratio()
(10, 1)
>>> (0.0).as_integer_ratio()
(0, 1)
>>> (-.25).as_integer_ratio()
(-1, 4)
conjugate(...)
Return self, the complex conjugate of any float.
fromhex(...) from type
float.fromhex(string) -> float
 
Create a floating-point number from a hexadecimal string.
>>> float.fromhex('0x1.ffffp10')
2047.984375
>>> float.fromhex('-0x1p-1074')
-5e-324
hex(...)
float.hex() -> string
 
Return a hexadecimal representation of a floating-point number.
>>> (-0.1).hex()
'-0x1.999999999999ap-4'
>>> 3.14159.hex()
'0x1.921f9f01b866ep+1'
is_integer(...)
Return True if the float is an integer.

Data descriptors defined here:
imag
the imaginary part of a complex number
real
the real part of a complex number
frozenset() -> empty frozenset object
frozenset(iterable) -> frozenset object
 
Build an immutable unordered collection of unique elements.
 

Methods defined here:
__and__(self, value, /)
Return self&value.
__contains__(...)
x.__contains__(y) <==> y in x.
__eq__(self, value, /)
Return self==value.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__iter__(self, /)
Implement iter(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__or__(self, value, /)
Return self|value.
__rand__(self, value, /)
Return value&self.
__reduce__(...)
Return state information for pickling.
__repr__(self, /)
Return repr(self).
__ror__(self, value, /)
Return value|self.
__rsub__(self, value, /)
Return value-self.
__rxor__(self, value, /)
Return value^self.
__sizeof__(...)
S.__sizeof__() -> size of S in memory, in bytes
__sub__(self, value, /)
Return self-value.
__xor__(self, value, /)
Return self^value.
copy(...)
Return a shallow copy of a set.
difference(...)
Return the difference of two or more sets as a new set.
 
(i.e. all elements that are in this set but not the others.)
intersection(...)
Return the intersection of two sets as a new set.
 
(i.e. all elements that are in both sets.)
isdisjoint(...)
Return True if two sets have a null intersection.
issubset(...)
Report whether another set contains this set.
issuperset(...)
Report whether this set contains another set.
symmetric_difference(...)
Return the symmetric difference of two sets as a new set.
 
(i.e. all elements that are in exactly one of the sets.)
union(...)
Return the union of sets as a new set.
 
(i.e. all elements that are in either set.)
int(x=0) -> integer
int(x, base=10) -> integer
 
Convert a number or string to an integer, or return 0 if no arguments
are given.  If x is a number, return x.__int__().  For floating point
numbers, this truncates towards zero.
 
If x is not a number or if base is given, then x must be a string,
bytes, or bytearray instance representing an integer literal in the
given base.  The literal can be preceded by '+' or '-' and be surrounded
by whitespace.  The base defaults to 10.  Valid bases are 0 and 2-36.
Base 0 means to interpret the base from the string as an integer literal.
>>> int('0b100', base=0)
4
 

Methods defined here:
__abs__(self, /)
abs(self)
__add__(self, value, /)
Return self+value.
__and__(self, value, /)
Return self&value.
__bool__(self, /)
self != 0
__ceil__(...)
Ceiling of an Integral returns itself.
__divmod__(self, value, /)
Return divmod(self, value).
__eq__(self, value, /)
Return self==value.
__float__(self, /)
float(self)
__floor__(...)
Flooring an Integral returns itself.
__floordiv__(self, value, /)
Return self//value.
__format__(...)
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getnewargs__(...)
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__index__(self, /)
Return self converted to an integer, if self is suitable for use as an index into a list.
__int__(self, /)
int(self)
__invert__(self, /)
~self
__le__(self, value, /)
Return self<=value.
__lshift__(self, value, /)
Return self<<value.
__lt__(self, value, /)
Return self<value.
__mod__(self, value, /)
Return self%value.
__mul__(self, value, /)
Return self*value.
__ne__(self, value, /)
Return self!=value.
__neg__(self, /)
-self
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__or__(self, value, /)
Return self|value.
__pos__(self, /)
+self
__pow__(self, value, mod=None, /)
Return pow(self, value, mod).
__radd__(self, value, /)
Return value+self.
__rand__(self, value, /)
Return value&self.
__rdivmod__(self, value, /)
Return divmod(value, self).
__repr__(self, /)
Return repr(self).
__rfloordiv__(self, value, /)
Return value//self.
__rlshift__(self, value, /)
Return value<<self.
__rmod__(self, value, /)
Return value%self.
__rmul__(self, value, /)
Return value*self.
__ror__(self, value, /)
Return value|self.
__round__(...)
Rounding an Integral returns itself.
Rounding with an ndigits argument also returns an integer.
__rpow__(self, value, mod=None, /)
Return pow(value, self, mod).
__rrshift__(self, value, /)
Return value>>self.
__rshift__(self, value, /)
Return self>>value.
__rsub__(self, value, /)
Return value-self.
__rtruediv__(self, value, /)
Return value/self.
__rxor__(self, value, /)
Return value^self.
__sizeof__(...)
Returns size in memory, in bytes
__str__(self, /)
Return str(self).
__sub__(self, value, /)
Return self-value.
__truediv__(self, value, /)
Return self/value.
__trunc__(...)
Truncating an Integral returns itself.
__xor__(self, value, /)
Return self^value.
bit_length(...)
int.bit_length() -> int
 
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
conjugate(...)
Returns self, the complex conjugate of any int.
from_bytes(...) from type
int.from_bytes(bytes, byteorder, *, signed=False) -> int
 
Return the integer represented by the given array of bytes.
 
The bytes argument must either support the buffer protocol or be an
iterable object producing bytes.  Bytes and bytearray are examples of
built-in objects that support the buffer protocol.
 
The byteorder argument determines the byte order used to represent the
integer.  If byteorder is 'big', the most significant byte is at the
beginning of the byte array.  If byteorder is 'little', the most
significant byte is at the end of the byte array.  To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
 
The signed keyword-only argument indicates whether two's complement is
used to represent the integer.
to_bytes(...)
int.to_bytes(length, byteorder, *, signed=False) -> bytes
 
Return an array of bytes representing an integer.
 
The integer is represented using length bytes.  An OverflowError is
raised if the integer is not representable with the given number of
bytes.
 
The byteorder argument determines the byte order used to represent the
integer.  If byteorder is 'big', the most significant byte is at the
beginning of the byte array.  If byteorder is 'little', the most
significant byte is at the end of the byte array.  To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
 
The signed keyword-only argument determines whether two's complement is
used to represent the integer.  If signed is False and a negative integer
is given, an OverflowError is raised.

Data descriptors defined here:
denominator
the denominator of a rational number in lowest terms
imag
the imaginary part of a complex number
numerator
the numerator of a rational number in lowest terms
real
the real part of a complex number
list() -> new empty list
list(iterable) -> new list initialized from iterable's items
 

Methods defined here:
__add__(self, value, /)
Return self+value.
__contains__(self, key, /)
Return key in self.
__delitem__(self, key, /)
Delete self[key].
__eq__(self, value, /)
Return self==value.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getitem__(...)
x.__getitem__(y) <==> x[y]
__gt__(self, value, /)
Return self>value.
__iadd__(self, value, /)
Implement self+=value.
__imul__(self, value, /)
Implement self*=value.
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__iter__(self, /)
Implement iter(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__mul__(self, value, /)
Return self*value.n
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__repr__(self, /)
Return repr(self).
__reversed__(...)
L.__reversed__() -- return a reverse iterator over the list
__rmul__(self, value, /)
Return self*value.
__setitem__(self, key, value, /)
Set self[key] to value.
__sizeof__(...)
L.__sizeof__() -- size of L in memory, in bytes
append(...)
L.append(object) -> None -- append object to end
clear(...)
L.clear() -> None -- remove all items from L
copy(...)
L.copy() -> list -- a shallow copy of L
count(...)
L.count(value) -> integer -- return number of occurrences of value
extend(...)
L.extend(iterable) -> None -- extend list by appending elements from the iterable
index(...)
L.index(value, [start, [stop]]) -> integer -- return first index of value.
Raises ValueError if the value is not present.
insert(...)
L.insert(index, object) -- insert object before index
pop(...)
L.pop([index]) -> item -- remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
remove(...)
L.remove(value) -> None -- remove first occurrence of value.
Raises ValueError if the value is not present.
reverse(...)
L.reverse() -- reverse *IN PLACE*
sort(...)
L.sort(key=None, reverse=False) -> None -- stable sort *IN PLACE*

Data and other attributes defined here:
__hash__ = None
map(func, *iterables) --> map object
 
Make an iterator that computes the function using arguments from
each of the iterables.  Stops when the shortest iterable is exhausted.
 

Methods defined here:
__getattribute__(self, name, /)
Return getattr(self, name).
__iter__(self, /)
Implement iter(self).
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__next__(self, /)
Implement next(self).
__reduce__(...)
Return state information for pickling.
memoryview(object)
 
Create a new memoryview object which references the given object.
 

Methods defined here:
__delitem__(self, key, /)
Delete self[key].
__enter__(...)
__eq__(self, value, /)
Return self==value.
__exit__(...)
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getitem__(self, key, /)
Return self[key].
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__repr__(self, /)
Return repr(self).
__setitem__(self, key, value, /)
Set self[key] to value.
cast(...)
M.cast(format[, shape]) -> memoryview
 
Cast a memoryview to a new format or shape.
release(...)
M.release() -> None
 
Release the underlying buffer exposed by the memoryview object.
tobytes(...)
M.tobytes() -> bytes
 
Return the data in the buffer as a byte string.
tolist(...)
M.tolist() -> list
 
Return the data in the buffer as a list of elements.

Data descriptors defined here:
c_contiguous
A bool indicating whether the memory is C contiguous.
contiguous
A bool indicating whether the memory is contiguous.
f_contiguous
A bool indicating whether the memory is Fortran contiguous.
format
A string containing the format (in struct module style)
for each element in the view.
itemsize
The size in bytes of each element of the memoryview.
nbytes
The amount of space in bytes that the array would use in
a contiguous representation.
ndim
An integer indicating how many dimensions of a multi-dimensional
array the memory represents.
obj
The underlying object of the memoryview.
readonly
A bool indicating whether the memory is read only.
shape
A tuple of ndim integers giving the shape of the memory
as an N-dimensional array.
strides
A tuple of ndim integers giving the size in bytes to access
each element for each dimension of the array.
suboffsets
A tuple of integers used internally for PIL-style arrays.
The most base type
 

property(fget=None, fset=None, fdel=None, doc=None) -> property attribute
 
fget is a function to be used for getting an attribute value, and likewise
fset is a function for setting, and fdel a function for del'ing, an
attribute.  Typical use is to define a managed attribute x:
 
class C(object):
    def getx(self): return self._x
    def setx(self, value): self._x = value
    def delx(self): del self._x
    x = property(getx, setx, delx, "I'm the 'x' property.")
 
Decorators make defining new properties or modifying existing ones easy:
 
class C(object):
    @property
    def x(self):
        "I am the 'x' property."
        return self._x
    @x.setter
    def x(self, value):
        self._x = value
    @x.deleter
    def x(self):
        del self._x
 

Methods defined here:
__delete__(self, instance, /)
Delete an attribute of instance.
__get__(self, instance, owner, /)
Return an attribute of instance, which is of type owner.
__getattribute__(self, name, /)
Return getattr(self, name).
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__set__(self, instance, value, /)
Set an attribute of instance to value.
deleter(...)
Descriptor to change the deleter on a property.
getter(...)
Descriptor to change the getter on a property.
setter(...)
Descriptor to change the setter on a property.

Data descriptors defined here:
__isabstractmethod__
fdel
fget
fset
range(stop) -> range object
range(start, stop[, step]) -> range object
 
Return a virtual sequence of numbers from start to stop by step.
 

Methods defined here:
__contains__(self, key, /)
Return key in self.
__eq__(self, value, /)
Return self==value.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getitem__(self, key, /)
Return self[key].
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__iter__(self, /)
Implement iter(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
__repr__(self, /)
Return repr(self).
__reversed__(...)
Return a reverse iterator.
count(...)
rangeobject.count(value) -> integer -- return number of occurrences of value
index(...)
rangeobject.index(value, [start, [stop]]) -> integer -- return index of value.
Raise ValueError if the value is not present.

Data descriptors defined here:
start
step
stop
reversed(sequence) -> reverse iterator over values of the sequence
 
Return a reverse iterator
 

Methods defined here:
__getattribute__(self, name, /)
Return getattr(self, name).
__iter__(self, /)
Implement iter(self).
__length_hint__(...)
Private method returning an estimate of len(list(it)).
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__next__(self, /)
Implement next(self).
__reduce__(...)
Return state information for pickling.
__setstate__(...)
Set state information for unpickling.
set() -> new empty set object
set(iterable) -> new set object
 
Build an unordered collection of unique elements.
 

Methods defined here:
__and__(self, value, /)
Return self&value.
__contains__(...)
x.__contains__(y) <==> y in x.
__eq__(self, value, /)
Return self==value.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__gt__(self, value, /)
Return self>value.
__iand__(self, value, /)
Return self&=value.
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__ior__(self, value, /)
Return self|=value.
__isub__(self, value, /)
Return self-=value.
__iter__(self, /)
Implement iter(self).
__ixor__(self, value, /)
Return self^=value.
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__or__(self, value, /)
Return self|value.
__rand__(self, value, /)
Return value&self.
__reduce__(...)
Return state information for pickling.
__repr__(self, /)
Return repr(self).
__ror__(self, value, /)
Return value|self.
__rsub__(self, value, /)
Return value-self.
__rxor__(self, value, /)
Return value^self.
__sizeof__(...)
S.__sizeof__() -> size of S in memory, in bytes
__sub__(self, value, /)
Return self-value.
__xor__(self, value, /)
Return self^value.
add(...)
Add an element to a set.
 
This has no effect if the element is already present.
clear(...)
Remove all elements from this set.
copy(...)
Return a shallow copy of a set.
difference(...)
Return the difference of two or more sets as a new set.
 
(i.e. all elements that are in this set but not the others.)
difference_update(...)
Remove all elements of another set from this set.
discard(...)
Remove an element from a set if it is a member.
 
If the element is not a member, do nothing.
intersection(...)
Return the intersection of two sets as a new set.
 
(i.e. all elements that are in both sets.)
intersection_update(...)
Update a set with the intersection of itself and another.
isdisjoint(...)
Return True if two sets have a null intersection.
issubset(...)
Report whether another set contains this set.
issuperset(...)
Report whether this set contains another set.
pop(...)
Remove and return an arbitrary set element.
Raises KeyError if the set is empty.
remove(...)
Remove an element from a set; it must be a member.
 
If the element is not a member, raise a KeyError.
symmetric_difference(...)
Return the symmetric difference of two sets as a new set.
 
(i.e. all elements that are in exactly one of the sets.)
symmetric_difference_update(...)
Update a set with the symmetric difference of itself and another.
union(...)
Return the union of sets as a new set.
 
(i.e. all elements that are in either set.)
update(...)
Update a set with the union of itself and others.

Data and other attributes defined here:
__hash__ = None
slice(stop)
slice(start, stop[, step])
 
Create a slice object.  This is used for extended slicing (e.g. a[0:10:2]).
 

Methods defined here:
__eq__(self, value, /)
Return self==value.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__gt__(self, value, /)
Return self>value.
__le__(self, value, /)
Return self<=value.
__lt__(self, value, /)
Return self<value.
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__reduce__(...)
Return state information for pickling.
__repr__(self, /)
Return repr(self).
indices(...)
S.indices(len) -> (start, stop, stride)
 
Assuming a sequence of length len, calculate the start and stop
indices, and the stride length of the extended slice described by
S. Out of bounds indices are clipped in a manner consistent with the
handling of normal slices.

Data descriptors defined here:
start
step
stop

Data and other attributes defined here:
__hash__ = None
staticmethod(function) -> method
 
Convert a function to be a static method.
 
A static method does not receive an implicit first argument.
To declare a static method, use this idiom:
 
     class C:
     def f(arg1, arg2, ...): ...
     f = staticmethod(f)
 
It can be called either on the class (e.g. C.f()) or on an instance
(e.g. C().f()).  The instance is ignored except for its class.
 
Static methods in Python are similar to those found in Java or C++.
For a more advanced concept, see the classmethod builtin.
 

Methods defined here:
__get__(self, instance, owner, /)
Return an attribute of instance, which is of type owner.
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.

Data descriptors defined here:
__dict__
__func__
__isabstractmethod__
str(object='') -> str
str(bytes_or_buffer[, encoding[, errors]]) -> str
 
Create a new string object from the given object. If encoding or
errors is specified, then the object must expose a data buffer
that will be decoded using the given encoding and error handler.
Otherwise, returns the result of object.__str__() (if defined)
or repr(object).
encoding defaults to sys.getdefaultencoding().
errors defaults to 'strict'.
 

Methods defined here:
__add__(self, value, /)
Return self+value.
__contains__(self, key, /)
Return key in self.
__eq__(self, value, /)
Return self==value.
__format__(...)
S.__format__(format_spec) -> str
 
Return a formatted version of S as described by format_spec.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getitem__(self, key, /)
Return self[key].
__getnewargs__(...)
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__iter__(self, /)
Implement iter(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__mod__(self, value, /)
Return self%value.
__mul__(self, value, /)
Return self*value.n
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__repr__(self, /)
Return repr(self).
__rmod__(self, value, /)
Return value%self.
__rmul__(self, value, /)
Return self*value.
__sizeof__(...)
S.__sizeof__() -> size of S in memory, in bytes
__str__(self, /)
Return str(self).
capitalize(...)
S.capitalize() -> str
 
Return a capitalized version of S, i.e. make the first character
have upper case and the rest lower case.
casefold(...)
S.casefold() -> str
 
Return a version of S suitable for caseless comparisons.
center(...)
S.center(width[, fillchar]) -> str
 
Return S centered in a string of length width. Padding is
done using the specified fill character (default is a space)
count(...)
S.count(sub[, start[, end]]) -> int
 
Return the number of non-overlapping occurrences of substring sub in
string S[start:end].  Optional arguments start and end are
interpreted as in slice notation.
encode(...)
S.encode(encoding='utf-8', errors='strict') -> bytes
 
Encode S using the codec registered for encoding. Default encoding
is 'utf-8'. errors may be given to set a different error
handling scheme. Default is 'strict' meaning that encoding errors raise
UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
'xmlcharrefreplace' as well as any other name registered with
codecs.register_error that can handle UnicodeEncodeErrors.
endswith(...)
S.endswith(suffix[, start[, end]]) -> bool
 
Return True if S ends with the specified suffix, False otherwise.
With optional start, test S beginning at that position.
With optional end, stop comparing S at that position.
suffix can also be a tuple of strings to try.
expandtabs(...)
S.expandtabs(tabsize=8) -> str
 
Return a copy of S where all tab characters are expanded using spaces.
If tabsize is not given, a tab size of 8 characters is assumed.
find(...)
S.find(sub[, start[, end]]) -> int
 
Return the lowest index in S where substring sub is found,
such that sub is contained within S[start:end].  Optional
arguments start and end are interpreted as in slice notation.
 
Return -1 on failure.
format(...)
S.format(*args, **kwargs) -> str
 
Return a formatted version of S, using substitutions from args and kwargs.
The substitutions are identified by braces ('{' and '}').
format_map(...)
S.format_map(mapping) -> str
 
Return a formatted version of S, using substitutions from mapping.
The substitutions are identified by braces ('{' and '}').
index(...)
S.index(sub[, start[, end]]) -> int
 
Like S.find() but raise ValueError when the substring is not found.
isalnum(...)
S.isalnum() -> bool
 
Return True if all characters in S are alphanumeric
and there is at least one character in S, False otherwise.
isalpha(...)
S.isalpha() -> bool
 
Return True if all characters in S are alphabetic
and there is at least one character in S, False otherwise.
isdecimal(...)
S.isdecimal() -> bool
 
Return True if there are only decimal characters in S,
False otherwise.
isdigit(...)
S.isdigit() -> bool
 
Return True if all characters in S are digits
and there is at least one character in S, False otherwise.
isidentifier(...)
S.isidentifier() -> bool
 
Return True if S is a valid identifier according
to the language definition.
 
Use keyword.iskeyword() to test for reserved identifiers
such as "def" and "class".
islower(...)
S.islower() -> bool
 
Return True if all cased characters in S are lowercase and there is
at least one cased character in S, False otherwise.
isnumeric(...)
S.isnumeric() -> bool
 
Return True if there are only numeric characters in S,
False otherwise.
isprintable(...)
S.isprintable() -> bool
 
Return True if all characters in S are considered
printable in repr() or S is empty, False otherwise.
isspace(...)
S.isspace() -> bool
 
Return True if all characters in S are whitespace
and there is at least one character in S, False otherwise.
istitle(...)
S.istitle() -> bool
 
Return True if S is a titlecased string and there is at least one
character in S, i.e. upper- and titlecase characters may only
follow uncased characters and lowercase characters only cased ones.
Return False otherwise.
isupper(...)
S.isupper() -> bool
 
Return True if all cased characters in S are uppercase and there is
at least one cased character in S, False otherwise.
join(...)
S.join(iterable) -> str
 
Return a string which is the concatenation of the strings in the
iterable.  The separator between elements is S.
ljust(...)
S.ljust(width[, fillchar]) -> str
 
Return S left-justified in a Unicode string of length width. Padding is
done using the specified fill character (default is a space).
lower(...)
S.lower() -> str
 
Return a copy of the string S converted to lowercase.
lstrip(...)
S.lstrip([chars]) -> str
 
Return a copy of the string S with leading whitespace removed.
If chars is given and not None, remove characters in chars instead.
partition(...)
S.partition(sep) -> (head, sep, tail)
 
Search for the separator sep in S, and return the part before it,
the separator itself, and the part after it.  If the separator is not
found, return S and two empty strings.
replace(...)
S.replace(old, new[, count]) -> str
 
Return a copy of S with all occurrences of substring
old replaced by new.  If the optional argument count is
given, only the first count occurrences are replaced.
rfind(...)
S.rfind(sub[, start[, end]]) -> int
 
Return the highest index in S where substring sub is found,
such that sub is contained within S[start:end].  Optional
arguments start and end are interpreted as in slice notation.
 
Return -1 on failure.
rindex(...)
S.rindex(sub[, start[, end]]) -> int
 
Like S.rfind() but raise ValueError when the substring is not found.
rjust(...)
S.rjust(width[, fillchar]) -> str
 
Return S right-justified in a string of length width. Padding is
done using the specified fill character (default is a space).
rpartition(...)
S.rpartition(sep) -> (head, sep, tail)
 
Search for the separator sep in S, starting at the end of S, and return
the part before it, the separator itself, and the part after it.  If the
separator is not found, return two empty strings and S.
rsplit(...)
S.rsplit(sep=None, maxsplit=-1) -> list of strings
 
Return a list of the words in S, using sep as the
delimiter string, starting at the end of the string and
working to the front.  If maxsplit is given, at most maxsplit
splits are done. If sep is not specified, any whitespace string
is a separator.
rstrip(...)
S.rstrip([chars]) -> str
 
Return a copy of the string S with trailing whitespace removed.
If chars is given and not None, remove characters in chars instead.
split(...)
S.split(sep=None, maxsplit=-1) -> list of strings
 
Return a list of the words in S, using sep as the
delimiter string.  If maxsplit is given, at most maxsplit
splits are done. If sep is not specified or is None, any
whitespace string is a separator and empty strings are
removed from the result.
splitlines(...)
S.splitlines([keepends]) -> list of strings
 
Return a list of the lines in S, breaking at line boundaries.
Line breaks are not included in the resulting list unless keepends
is given and true.
startswith(...)
S.startswith(prefix[, start[, end]]) -> bool
 
Return True if S starts with the specified prefix, False otherwise.
With optional start, test S beginning at that position.
With optional end, stop comparing S at that position.
prefix can also be a tuple of strings to try.
strip(...)
S.strip([chars]) -> str
 
Return a copy of the string S with leading and trailing
whitespace removed.
If chars is given and not None, remove characters in chars instead.
swapcase(...)
S.swapcase() -> str
 
Return a copy of S with uppercase characters converted to lowercase
and vice versa.
title(...)
S.title() -> str
 
Return a titlecased version of S, i.e. words start with title case
characters, all remaining cased characters have lower case.
translate(...)
S.translate(table) -> str
 
Return a copy of the string S, where all characters have been mapped
through the given translation table, which must be a mapping of
Unicode ordinals to Unicode ordinals, strings, or None.
Unmapped characters are left untouched. Characters mapped to None
are deleted.
upper(...)
S.upper() -> str
 
Return a copy of S converted to uppercase.
zfill(...)
S.zfill(width) -> str
 
Pad a numeric string S with zeros on the left, to fill a field
of the specified width. The string S is never truncated.

Static methods defined here:
maketrans(x, y=None, z=None, /)
Return a translation table usable for str.translate().
 
If there is only one argument, it must be a dictionary mapping Unicode
ordinals (integers) or characters to Unicode ordinals, strings or None.
Character keys will be then converted to ordinals.
If there are two arguments, they must be strings of equal length, and
in the resulting dictionary, each character in x will be mapped to the
character at the same position in y. If there is a third argument, it
must be a string, whose characters will be mapped to None in the result.
super() -> same as super(__class__, <first argument>)
super(type) -> unbound super object
super(type, obj) -> bound super object; requires isinstance(obj, type)
super(type, type2) -> bound super object; requires issubclass(type2, type)
Typical use to call a cooperative superclass method:
class C(B):
    def meth(self, arg):
        super().meth(arg)
This works for class methods too:
class C(B):
    @classmethod
    def cmeth(cls, arg):
        super().cmeth(arg)
 

Methods defined here:
__get__(self, instance, owner, /)
Return an attribute of instance, which is of type owner.
__getattribute__(self, name, /)
Return getattr(self, name).
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__repr__(self, /)
Return repr(self).

Data descriptors defined here:
__self__
the instance invoking super(); may be None
__self_class__
the type of the instance invoking super(); may be None
__thisclass__
the class invoking super()
tuple() -> empty tuple
tuple(iterable) -> tuple initialized from iterable's items
 
If the argument is a tuple, the return value is the same object.
 

Methods defined here:
__add__(self, value, /)
Return self+value.
__contains__(self, key, /)
Return key in self.
__eq__(self, value, /)
Return self==value.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getitem__(self, key, /)
Return self[key].
__getnewargs__(...)
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__iter__(self, /)
Implement iter(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__mul__(self, value, /)
Return self*value.n
__ne__(self, value, /)
Return self!=value.
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__repr__(self, /)
Return repr(self).
__rmul__(self, value, /)
Return self*value.
__sizeof__(...)
T.__sizeof__() -- size of T in memory, in bytes
count(...)
T.count(value) -> integer -- return number of occurrences of value
index(...)
T.index(value, [start, [stop]]) -> integer -- return first index of value.
Raises ValueError if the value is not present.
type(object_or_name, bases, dict)
type(object) -> the object's type
type(name, bases, dict) -> a new type
 

Methods defined here:
__call__(self, /, *args, **kwargs)
Call self as a function.
__delattr__(self, name, /)
Implement delattr(self, name).
__dir__(...)
__dir__() -> list
specialized __dir__ implementation for types
__getattribute__(self, name, /)
Return getattr(self, name).
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__instancecheck__(...)
__instancecheck__() -> bool
check if an object is an instance
__new__(*args, **kwargs)
Create and return a new object.  See help(type) for accurate signature.
__prepare__(...)
__prepare__() -> dict
used to create the namespace for the class statement
__repr__(self, /)
Return repr(self).
__setattr__(self, name, value, /)
Implement setattr(self, name, value).
__sizeof__(...)
__sizeof__() -> int
return memory consumption of the type object
__subclasscheck__(...)
__subclasscheck__() -> bool
check if a class is a subclass
__subclasses__(...)
__subclasses__() -> list of immediate subclasses
mro(...)
mro() -> list
return a type's method resolution order

Data descriptors defined here:
__abstractmethods__
__dict__
__text_signature__

Data and other attributes defined here:
__base__ = <class 'object'>
The most base type
__bases__ = (<class 'object'>,)
__basicsize__ = 824
__dictoffset__ = 264
__flags__ = 2148291584
__itemsize__ = 40
__mro__ = (<class 'type'>, <class 'object'>)
__weakrefoffset__ = 368
zip(iter1 [,iter2 [...]]) --> zip object
 
Return a zip object whose .__next__() method returns a tuple where
the i-th element comes from the i-th iterable argument.  The .__next__()
method continues until the shortest iterable in the argument sequence
is exhausted and then it raises StopIteration.
 

Methods defined here:
__getattribute__(self, name, /)
Return getattr(self, name).
__iter__(self, /)
Implement iter(self).
__new__(*args, **kwargs) from type
Create and return a new object.  See help(type) for accurate signature.
__next__(self, /)
Implement next(self).
__reduce__(...)
Return state information for pickling.
  Functions
__build_class__(...)
__build_class__(func, name, *bases, metaclass=None, **kwds) -> class
 
Internal helper function used by the class statement.
__import__(...)
__import__(name, globals=None, locals=None, fromlist=(), level=0) -> module
 
Import a module. Because this function is meant for use by the Python
interpreter and not for general use it is better to use
importlib.import_module() to programmatically import a module.
 
The globals argument is only used to determine the context;
they are not modified.  The locals argument is unused.  The fromlist
should be a list of names to emulate ``from name import ...'', or an
empty list to emulate ``import name''.
When importing a module from a package, note that __import__('A.B', ...)
returns package A when fromlist is empty, but its submodule B when
fromlist is not empty.  Level is used to determine whether to perform 
absolute or relative imports. 0 is absolute while a positive number
is the number of parent directories to search relative to the current module.
abs(...)
abs(number) -> number
 
Return the absolute value of the argument.
all(...)
all(iterable) -> bool
 
Return True if bool(x) is True for all values x in the iterable.
If the iterable is empty, return True.
any(...)
any(iterable) -> bool
 
Return True if bool(x) is True for any x in the iterable.
If the iterable is empty, return False.
ascii(...)
ascii(object) -> string
 
As repr(), return a string containing a printable representation of an
object, but escape the non-ASCII characters in the string returned by
repr() using \x, \u or \U escapes.  This generates a string similar
to that returned by repr() in Python 2.
bin(...)
bin(number) -> string
 
Return the binary representation of an integer.
 
   >>> bin(2796202)
   '0b1010101010101010101010'
callable(...)
callable(object) -> bool
 
Return whether the object is callable (i.e., some kind of function).
Note that classes are callable, as are instances of classes with a
__call__() method.
chr(...)
chr(i) -> Unicode character
 
Return a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff.
compile(...)
compile(source, filename, mode[, flags[, dont_inherit]]) -> code object
 
Compile the source (a Python module, statement or expression)
into a code object that can be executed by exec() or eval().
The filename will be used for run-time error messages.
The mode must be 'exec' to compile a module, 'single' to compile a
single (interactive) statement, or 'eval' to compile an expression.
The flags argument, if present, controls which future statements influence
the compilation of the code.
The dont_inherit argument, if non-zero, stops the compilation inheriting
the effects of any future statements in effect in the code calling
compile; if absent or zero these statements do influence the compilation,
in addition to any features explicitly specified.
delattr(...)
delattr(object, name)
 
Delete a named attribute on an objectdelattr(x, 'y') is equivalent to
``del x.y''.
dir(...)
dir([object]) -> list of strings
 
If called without an argument, return the names in the current scope.
Else, return an alphabetized list of names comprising (some of) the attributes
of the given object, and of attributes reachable from it.
If the object supplies a method named __dir__, it will be used; otherwise
the default dir() logic is used and returns:
  for a module object: the module's attributes.
  for a class object:  its attributes, and recursively the attributes
    of its bases.
  for any other object: its attributes, its class's attributes, and
    recursively the attributes of its class's base classes.
divmod(...)
divmod(x, y) -> (div, mod)
 
Return the tuple ((x-x%y)/y, x%y).  Invariant: div*y + mod == x.
eval(...)
eval(source[, globals[, locals]]) -> value
 
Evaluate the source in the context of globals and locals.
The source may be a string representing a Python expression
or a code object as returned by compile().
The globals must be a dictionary and locals can be any mapping,
defaulting to the current globals and locals.
If only globals is given, locals defaults to it.
exec(...)
exec(object[, globals[, locals]])
 
Read and execute code from an object, which can be a string or a code
object.
The globals and locals are dictionaries, defaulting to the current
globals and locals.  If only globals is given, locals defaults to it.
format(...)
format(value[, format_spec]) -> string
 
Returns value.__format__(format_spec)
format_spec defaults to ""
getattr(...)
getattr(object, name[, default]) -> value
 
Get a named attribute from an objectgetattr(x, 'y') is equivalent to x.y.
When a default argument is given, it is returned when the attribute doesn't
exist; without it, an exception is raised in that case.
globals(...)
globals() -> dictionary
 
Return the dictionary containing the current scope's global variables.
hasattr(...)
hasattr(object, name) -> bool
 
Return whether the object has an attribute with the given name.
(This is done by calling getattr(object, name) and catching AttributeError.)
hash(...)
hash(object) -> integer
 
Return a hash value for the object.  Two objects with the same value have
the same hash value.  The reverse is not necessarily true, but likely.
hex(...)
hex(number) -> string
 
Return the hexadecimal representation of an integer.
 
   >>> hex(3735928559)
   '0xdeadbeef'
id(...)
id(object) -> integer
 
Return the identity of an object.  This is guaranteed to be unique among
simultaneously existing objects.  (Hint: it's the object's memory address.)
input(...)
input([prompt]) -> string
 
Read a string from standard input.  The trailing newline is stripped.
If the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.
On Unix, GNU readline is used if enabled.  The prompt string, if given,
is printed without a trailing newline before reading.
isinstance(...)
isinstance(object, class-or-type-or-tuple) -> bool
 
Return whether an object is an instance of a class or of a subclass thereof.
With a type as second argument, return whether that is the object's type.
The form using a tupleisinstance(x, (A, B, ...)), is a shortcut for
isinstance(x, A) or isinstance(x, B) or ... (etc.).
issubclass(...)
issubclass(C, B) -> bool
 
Return whether class C is a subclass (i.e., a derived class) of class B.
When using a tuple as the second argument issubclass(X, (A, B, ...)),
is a shortcut for issubclass(X, A) or issubclass(X, B) or ... (etc.).
iter(...)
iter(iterable) -> iterator
iter(callable, sentinel) -> iterator
 
Get an iterator from an object.  In the first form, the argument must
supply its own iterator, or be a sequence.
In the second form, the callable is called until it returns the sentinel.
len(...)
len(object)
 
Return the number of items of a sequence or collection.
locals(...)
locals() -> dictionary
 
Update and return a dictionary containing the current scope's local variables.
max(...)
max(iterable, *[, default=obj, key=func]) -> value
max(arg1, arg2, *args, *[, key=func]) -> value
 
With a single iterable argument, return its biggest item. The
default keyword-only argument specifies an object to return if
the provided iterable is empty.
With two or more arguments, return the largest argument.
min(...)
min(iterable, *[, default=obj, key=func]) -> value
min(arg1, arg2, *args, *[, key=func]) -> value
 
With a single iterable argument, return its smallest item. The
default keyword-only argument specifies an object to return if
the provided iterable is empty.
With two or more arguments, return the smallest argument.
next(...)
next(iterator[, default])
 
Return the next item from the iterator. If default is given and the iterator
is exhausted, it is returned instead of raising StopIteration.
oct(...)
oct(number) -> string
 
Return the octal representation of an integer.
 
   >>> oct(342391)
   '0o1234567'
open(...)
open(file, mode='r', buffering=-1, encoding=None,
     errors=None, newline=None, closefd=True, opener=None) -> file object
 
Open file and return a stream.  Raise IOError upon failure.
 
file is either a text or byte string giving the name (and the path
if the file isn't in the current working directory) of the file to
be opened or an integer file descriptor of the file to be
wrapped. (If a file descriptor is given, it is closed when the
returned I/O object is closed, unless closefd is set to False.)
 
mode is an optional string that specifies the mode in which the file
is opened. It defaults to 'r' which means open for reading in text
mode.  Other common values are 'w' for writing (truncating the file if
it already exists), 'x' for creating and writing to a new file, and
'a' for appending (which on some Unix systems, means that all writes
append to the end of the file regardless of the current seek position).
In text mode, if encoding is not specified the encoding used is platform
dependent: locale.getpreferredencoding(False) is called to get the
current locale encoding. (For reading and writing raw bytes use binary
mode and leave encoding unspecified.) The available modes are:
 
========= ===============================================================
Character Meaning
--------- ---------------------------------------------------------------
'r'       open for reading (default)
'w'       open for writing, truncating the file first
'x'       create a new file and open it for writing
'a'       open for writing, appending to the end of the file if it exists
'b'       binary mode
't'       text mode (default)
'+'       open a disk file for updating (reading and writing)
'U'       universal newline mode (deprecated)
========= ===============================================================
 
The default mode is 'rt' (open for reading text). For binary random
access, the mode 'w+b' opens and truncates the file to 0 bytes, while
'r+b' opens the file without truncation. The 'x' mode implies 'w' and
raises an `FileExistsError` if the file already exists.
 
Python distinguishes between files opened in binary and text modes,
even when the underlying operating system doesn't. Files opened in
binary mode (appending 'b' to the mode argument) return contents as
bytes objects without any decoding. In text mode (the default, or when
't' is appended to the mode argument), the contents of the file are
returned as strings, the bytes having been first decoded using a
platform-dependent encoding or using the specified encoding if given.
 
'U' mode is deprecated and will raise an exception in future versions
of Python.  It has no effect in Python 3.  Use newline to control
universal newlines mode.
 
buffering is an optional integer used to set the buffering policy.
Pass 0 to switch buffering off (only allowed in binary mode), 1 to select
line buffering (only usable in text mode), and an integer > 1 to indicate
the size of a fixed-size chunk buffer.  When no buffering argument is
given, the default buffering policy works as follows:
 
* Binary files are buffered in fixed-size chunks; the size of the buffer
  is chosen using a heuristic trying to determine the underlying device's
  "block size" and falling back on `io.DEFAULT_BUFFER_SIZE`.
  On many systems, the buffer will typically be 4096 or 8192 bytes long.
 
* "Interactive" text files (files for which isatty() returns True)
  use line buffering.  Other text files use the policy described above
  for binary files.
 
encoding is the name of the encoding used to decode or encode the
file. This should only be used in text mode. The default encoding is
platform dependent, but any encoding supported by Python can be
passed.  See the codecs module for the list of supported encodings.
 
errors is an optional string that specifies how encoding errors are to
be handled---this argument should not be used in binary mode. Pass
'strict' to raise a ValueError exception if there is an encoding error
(the default of None has the same effect), or pass 'ignore' to ignore
errors. (Note that ignoring encoding errors can lead to data loss.)
See the documentation for codecs.register or run 'help(codecs.Codec)'
for a list of the permitted encoding error strings.
 
newline controls how universal newlines works (it only applies to text
mode). It can be None, '', '\n', '\r', and '\r\n'.  It works as
follows:
 
* On input, if newline is None, universal newlines mode is
  enabled. Lines in the input can end in '\n', '\r', or '\r\n', and
  these are translated into '\n' before being returned to the
  caller. If it is '', universal newline mode is enabled, but line
  endings are returned to the caller untranslated. If it has any of
  the other legal values, input lines are only terminated by the given
  string, and the line ending is returned to the caller untranslated.
 
* On output, if newline is None, any '\n' characters written are
  translated to the system default line separator, os.linesep. If
  newline is '' or '\n', no translation takes place. If newline is any
  of the other legal values, any '\n' characters written are translated
  to the given string.
 
If closefd is False, the underlying file descriptor will be kept open
when the file is closed. This does not work when a file name is given
and must be True in that case.
 
A custom opener can be used by passing a callable as *opener*. The
underlying file descriptor for the file object is then obtained by
calling *opener* with (*file*, *flags*). *opener* must return an open
file descriptor (passing os.open as *opener* results in functionality
similar to passing None).
 
open() returns a file object whose type depends on the mode, and
through which the standard file operations such as reading and writing
are performed. When open() is used to open a file in a text mode ('w',
'r', 'wt', 'rt', etc.), it returns a TextIOWrapper. When used to open
a file in a binary mode, the returned class varies: in read binary
mode, it returns a BufferedReader; in write binary and append binary
modes, it returns a BufferedWriter, and in read/write mode, it returns
a BufferedRandom.
 
It is also possible to use a string or bytearray as a file for both
reading and writing. For strings StringIO can be used like a file
opened in a text mode, and for bytes a BytesIO can be used like a file
opened in a binary mode.
ord(...)
ord(c) -> integer
 
Return the integer ordinal of a one-character string.
pow(...)
pow(x, y[, z]) -> number
 
With two arguments, equivalent to x**y.  With three arguments,
equivalent to (x**y) % z, but may be more efficient (e.g. for ints).
print(...)
print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)
 
Prints the values to a stream, or to sys.stdout by default.
Optional keyword arguments:
file:  a file-like object (stream); defaults to the current sys.stdout.
sep:   string inserted between values, default a space.
end:   string appended after the last value, default a newline.
flush: whether to forcibly flush the stream.
repr(...)
repr(object) -> string
 
Return the canonical string representation of the object.
For most object types, eval(repr(object)) == object.
round(...)
round(number[, ndigits]) -> number
 
Round a number to a given precision in decimal digits (default 0 digits).
This returns an int when called with one argument, otherwise the
same type as the number. ndigits may be negative.
setattr(...)
setattr(object, name, value)
 
Set a named attribute on an objectsetattr(x, 'y', v) is equivalent to
``x.y = v''.
sorted(...)
sorted(iterable, key=None, reverse=False) --> new sorted list
sum(...)
sum(iterable[, start]) -> value
 
Return the sum of an iterable of numbers (NOT strings) plus the value
of parameter 'start' (which defaults to 0).  When the iterable is
empty, return start.
vars(...)
vars([object]) -> dictionary
 
Without arguments, equivalent to locals().
With an argument, equivalent to object.__dict__.
  Data
Ellipsis = Ellipsis
False = False
None = None
NotImplemented = NotImplemented
True = True
__debug__ = True
copyright = Copyright (c) 2001-2014 Python Software Foundati...ematisch Centrum, Amsterdam. All Rights Reserved.
credits = Thanks to CWI, CNRI, BeOpen.com, Zope Corpor...opment. See www.python.org for more information.
exit = Use exit() or Ctrl-D (i.e. EOF) to exit
help = Type help() for interactive help, or help(object) for help about object.
license = See http://www.python.org/psf/license/
quit = Use quit() or Ctrl-D (i.e. EOF) to exit
Copyright by Luxion - Generated on Mon Aug 7 11:28:44 2017 using a modified pydoc.