pdb.runeval()

pdb.runeval(expression, globals=None, locals=None) Evaluate the expression (given as a string or a code object) under debugger control. When runeval() returns, it returns the value of the expression. Otherwise this function is similar to run().

msilib.Record.GetString()

Record.GetString(field) Return the value of field as a string where possible. field must be an integer.

smtplib.SMTPDataError

exception smtplib.SMTPDataError The SMTP server refused to accept the message data.

contextlib.ExitStack.callback()

callback(callback, *args, **kwds) Accepts an arbitrary callback function and arguments and adds it to the callback stack. Unlike the other methods, callbacks added this way cannot suppress exceptions (as they are never passed the exception details). The passed in callback is returned from the function, allowing this method to be used as a function decorator.

ast.NodeVisitor

class ast.NodeVisitor A node visitor base class that walks the abstract syntax tree and calls a visitor function for every node found. This function may return a value which is forwarded by the visit() method. This class is meant to be subclassed, with the subclass adding visitor methods. visit(node) Visit a node. The default implementation calls the method called self.visit_classname where classname is the name of the node class, or generic_visit() if that method doesn’t exist. gener

email.charset.Charset.output_charset

output_charset Some character sets must be converted before they can be used in email headers or bodies. If the input_charset is one of them, this attribute will contain the name of the character set output will be converted to. Otherwise, it will be None.

locale.getpreferredencoding()

locale.getpreferredencoding(do_setlocale=True) Return the encoding used for text data, according to user preferences. User preferences are expressed differently on different systems, and might not be available programmatically on some systems, so this function only returns a guess. On some systems, it is necessary to invoke setlocale() to obtain the user preferences, so this function is not thread-safe. If invoking setlocale is not necessary or desired, do_setlocale should be set to False.

pdb.Pdb.run()

run(statement, globals=None, locals=None) runeval(expression, globals=None, locals=None) runcall(function, *args, **kwds) set_trace() See the documentation for the functions explained above.

asyncio.Future.set_exception()

set_exception(exception) Mark the future done and set an exception. If the future is already done when this method is called, raises InvalidStateError.

xml.parsers.expat.xmlparser.CharacterDataHandler()

xmlparser.CharacterDataHandler(data) Called for character data. This will be called for normal character data, CDATA marked content, and ignorable whitespace. Applications which must distinguish these cases can use the StartCdataSectionHandler, EndCdataSectionHandler, and ElementDeclHandler callbacks to collect the required information.