urllib.request.FileHandler.file_open()

FileHandler.file_open(req) Open the file locally, if there is no host name, or the host name is 'localhost'. Changed in version 3.2: This method is applicable only for local hostnames. When a remote hostname is given, an URLError is raised.

mailbox.mbox.get_file()

get_file(key) Using the file after calling flush() or close() on the mbox instance may yield unpredictable results or raise an exception.

pdb.Pdb.runcall()

runcall(function, *args, **kwds) set_trace() See the documentation for the functions explained above.

json.JSONDecodeError.doc

doc The JSON document being parsed.

logging.handlers.BufferingHandler.emit()

emit(record) Appends the record to the buffer. If shouldFlush() returns true, calls flush() to process the buffer.

xml.sax.xmlreader.XMLReader.parse()

XMLReader.parse(source) Process an input source, producing SAX events. The source object can be a system identifier (a string identifying the input source – typically a file name or a URL), a file-like object, or an InputSource object. When parse() returns, the input is completely processed, and the parser object can be discarded or reset. Changed in version 3.5: Added support of character streams.

pipes.Template.reset()

Template.reset() Restore a pipeline template to its initial state.

unittest.TestResult.stop()

stop() This method can be called to signal that the set of tests being run should be aborted by setting the shouldStop attribute to True. TestRunner objects should respect this flag and return without running any additional tests. For example, this feature is used by the TextTestRunner class to stop the test framework when the user signals an interrupt from the keyboard. Interactive tools which provide TestRunner implementations can use this in a similar manner.

xmlrpc.client.ServerProxy

class xmlrpc.client.ServerProxy(uri, transport=None, encoding=None, verbose=False, allow_none=False, use_datetime=False, use_builtin_types=False, *, context=None) Changed in version 3.3: The use_builtin_types flag was added. A ServerProxy instance is an object that manages communication with a remote XML-RPC server. The required first argument is a URI (Uniform Resource Indicator), and will normally be the URL of the server. The optional second argument is a transport factory instance; by

email.message.Message.del_param()

del_param(param, header='content-type', requote=True) Remove the given parameter completely from the Content-Type header. The header will be re-written in place without the parameter or its value. All values will be quoted as necessary unless requote is False (the default is True). Optional header specifies an alternative to Content-Type.