sqlite3.Connection.rollback()

rollback() This method rolls back any changes to the database since the last call to commit().

email.errors.MultipartConversionError

exception email.errors.MultipartConversionError Raised when a payload is added to a Message object using add_payload(), but the payload is already a scalar and the message’s Content-Type main type is not either multipart or missing. MultipartConversionError multiply inherits from MessageError and the built-in TypeError. Since Message.add_payload() is deprecated, this exception is rarely raised in practice. However the exception may also be raised if the attach() method is called on an instan

cgi.parse_multipart()

cgi.parse_multipart(fp, pdict) Parse input of type multipart/form-data (for file uploads). Arguments are fp for the input file and pdict for a dictionary containing other parameters in the Content-Type header. Returns a dictionary just like urllib.parse.parse_qs() keys are the field names, each value is a list of values for that field. This is easy to use but not much good if you are expecting megabytes to be uploaded — in that case, use the FieldStorage class instead which is much more flex

builtins

This module provides direct access to all ‘built-in’ identifiers of Python; for example, builtins.open is the full name for the built-in function open(). See Built-in Functions and Built-in Constants for documentation. This module is not normally accessed explicitly by most applications, but can be useful in modules that provide objects with the same name as a built-in value, but in which the built-in of that name is also needed. For example, in a module that wants to implement an open() functi

logging.LogRecord.getMessage()

getMessage() Returns the message for this LogRecord instance after merging any user-supplied arguments with the message. If the user-supplied message argument to the logging call is not a string, str() is called on it to convert it to a string. This allows use of user-defined classes as messages, whose __str__ method can return the actual format string to be used.

test.support.import_module()

test.support.import_module(name, deprecated=False) This function imports and returns the named module. Unlike a normal import, this function raises unittest.SkipTest if the module cannot be imported. Module and package deprecation messages are suppressed during this import if deprecated is True. New in version 3.1.

asyncio.BaseSubprocessTransport

class asyncio.BaseSubprocessTransport get_pid() Return the subprocess process id as an integer. get_pipe_transport(fd) Return the transport for the communication pipe corresponding to the integer file descriptor fd: 0: readable streaming transport of the standard input (stdin), or None if the subprocess was not created with stdin=PIPE 1: writable streaming transport of the standard output (stdout), or None if the subprocess was not created with stdout=PIPE 2: writable streaming

decimal.Decimal.number_class()

number_class(context=None) Return a string describing the class of the operand. The returned value is one of the following ten strings. "-Infinity", indicating that the operand is negative infinity. "-Normal", indicating that the operand is a negative normal number. "-Subnormal", indicating that the operand is negative and subnormal. "-Zero", indicating that the operand is a negative zero. "+Zero", indicating that the operand is a positive zero. "+Subnormal", indicating that the operan

decimal.Context.logical_xor()

logical_xor(x, y) Applies the logical operation xor between each operand’s digits.

uuid.UUID.int

UUID.int The UUID as a 128-bit integer.