stringprep.in_table_c21()

stringprep.in_table_c21(code) Determine whether code is in tableC.2.1 (ASCII control characters).

logging.handlers.NTEventLogHandler.getEventType()

getEventType(record) Returns the event type for the record. Override this if you want to specify your own types. This version does a mapping using the handler’s typemap attribute, which is set up in __init__() to a dictionary which contains mappings for DEBUG, INFO, WARNING, ERROR and CRITICAL. If you are using your own levels, you will either need to override this method or place a suitable dictionary in the handler’s typemap attribute.

xml.sax.xmlreader.Locator.getLineNumber()

Locator.getLineNumber() Return the line number where the current event begins.

ossaudiodev.oss_audio_device.write()

oss_audio_device.write(data) Write a bytes-like object data to the audio device and return the number of bytes written. If the audio device is in blocking mode (the default), the entire data is always written (again, this is different from usual Unix device semantics). If the device is in non-blocking mode, some data may not be written —see writeall(). Changed in version 3.5: Writable bytes-like object is now accepted.

argparse.ArgumentParser.parse_known_args()

ArgumentParser.parse_known_args(args=None, namespace=None)

nntplib.NNTP.set_debuglevel()

NNTP.set_debuglevel(level) Set the instance’s debugging level. This controls the amount of debugging output printed. The default, 0, produces no debugging output. A value of 1 produces a moderate amount of debugging output, generally a single line per request or response. A value of 2 or higher produces the maximum amount of debugging output, logging each line sent and received on the connection (including message text).

functools.partial.func

partial.func A callable object or function. Calls to the partial object will be forwarded to func with new arguments and keywords.

xml.sax.saxutils.unescape()

xml.sax.saxutils.unescape(data, entities={}) Unescape '&', '<', and '>' in a string of data. You can unescape other strings of data by passing a dictionary as the optional entities parameter. The keys and values must all be strings; each key will be replaced with its corresponding value. '&amp', '<', and '>' are always unescaped, even if entities is provided.

email.policy.EmailPolicy

class email.policy.EmailPolicy(**kw) This concrete Policy provides behavior that is intended to be fully compliant with the current email RFCs. These include (but are not limited to) RFC 5322, RFC 2047, and the current MIME RFCs. This policy adds new header parsing and folding algorithms. Instead of simple strings, headers are str subclasses with attributes that depend on the type of the field. The parsing and folding algorithm fully implement RFC 2047 and RFC 5322. In addition to the settab

pdb.Pdb.set_trace()

set_trace() See the documentation for the functions explained above.