xml.dom.SyntaxErr

exception xml.dom.SyntaxErr Raised when an invalid or illegal string is specified.

logging.handlers.BaseRotatingHandler

class logging.handlers.BaseRotatingHandler(filename, mode, encoding=None, delay=False) The parameters are as for FileHandler. The attributes are: namer If this attribute is set to a callable, the rotation_filename() method delegates to this callable. The parameters passed to the callable are those passed to rotation_filename(). Note The namer function is called quite a few times during rollover, so it should be as simple and as fast as possible. It should also return the same output ever

asyncio.AbstractEventLoop.get_debug()

AbstractEventLoop.get_debug() Get the debug mode (bool) of the event loop. The default value is True if the environment variable PYTHONASYNCIODEBUG is set to a non-empty string, False otherwise. New in version 3.4.2.

mailbox.mbox.unlock()

unlock() Three locking mechanisms are used—dot locking and, if available, the flock() and lockf() system calls.

threading.Timer

class threading.Timer(interval, function, args=None, kwargs=None) Create a timer that will run function with arguments args and keyword arguments kwargs, after interval seconds have passed. If args is None (the default) then an empty list will be used. If kwargs is None (the default) then an empty dict will be used. Changed in version 3.3: changed from a factory function to a class. cancel() Stop the timer, and cancel the execution of the timer’s action. This will only work if the timer

array.array.buffer_info()

array.buffer_info() Return a tuple (address, length) giving the current memory address and the length in elements of the buffer used to hold array’s contents. The size of the memory buffer in bytes can be computed as array.buffer_info()[1] * array.itemsize. This is occasionally useful when working with low-level (and inherently unsafe) I/O interfaces that require memory addresses, such as certain ioctl() operations. The returned numbers are valid as long as the array exists and no length-cha

http.server.CGIHTTPRequestHandler.do_POST()

do_POST() This method serves the 'POST' request type, only allowed for CGI scripts. Error 501, “Can only POST to CGI scripts”, is output when trying to POST to a non-CGI url.

tarfile.TarInfo.mtime

TarInfo.mtime Time of last modification.

decimal.Decimal.exp()

exp(context=None) Return the value of the (natural) exponential function e**x at the given number. The result is correctly rounded using the ROUND_HALF_EVEN rounding mode. >>> Decimal(1).exp() Decimal('2.718281828459045235360287471') >>> Decimal(321).exp() Decimal('2.561702493119680037517373933E+139')

subprocess.getstatusoutput()

subprocess.getstatusoutput(cmd) Return (status, output) of executing cmd in a shell. Execute the string cmd in a shell with Popen.check_output() and return a 2-tuple (status, output). Universal newlines mode is used; see the notes on Frequently Used Arguments for more details. A trailing newline is stripped from the output. The exit status for the command can be interpreted according to the rules for the C function wait(). Example: >>> subprocess.getstatusoutput('ls /bin/ls') (0, '/