asyncio.StreamWriter.write_eof()

write_eof() Close the write end of the transport after flushing buffered data: see WriteTransport.write_eof().

subprocess.TimeoutExpired.stderr

stderr Stderr output of the child process if it was captured by run(). Otherwise, None.

socketserver.BaseServer.server_address

server_address The address on which the server is listening. The format of addresses varies depending on the protocol family; see the documentation for the socket module for details. For Internet protocols, this is a tuple containing a string giving the address, and an integer port number: ('127.0.0.1', 80), for example.

bdb.Bdb

class bdb.Bdb(skip=None) The Bdb class acts as a generic Python debugger base class. This class takes care of the details of the trace facility; a derived class should implement user interaction. The standard debugger class (pdb.Pdb) is an example. The skip argument, if given, must be an iterable of glob-style module name patterns. The debugger will not step into frames that originate in a module that matches one of these patterns. Whether a frame is considered to originate in a certain modu

asyncio.WriteTransport.write_eof()

write_eof() Close the write end of the transport after flushing buffered data. Data may still be received. This method can raise NotImplementedError if the transport (e.g. SSL) doesn’t support half-closes.

code.InteractiveInterpreter.runsource()

InteractiveInterpreter.runsource(source, filename="", symbol="single") Compile and run some source in the interpreter. Arguments are the same as for compile_command(); the default for filename is '<input>', and for symbol is 'single'. One several things can happen: The input is incorrect; compile_command() raised an exception (SyntaxError or OverflowError). A syntax traceback will be printed by calling the showsyntaxerror() method. runsource() returns False. The input is incomplete, an

modulefinder.ReplacePackage()

modulefinder.ReplacePackage(oldname, newname) Allows specifying that the module named oldname is in fact the package named newname.

bdb.Bdb.run()

run(cmd, globals=None, locals=None) Debug a statement executed via the exec() function. globals defaults to __main__.__dict__, locals defaults to globals.

fnmatch.translate()

fnmatch.translate(pattern) Return the shell-style pattern converted to a regular expression. Example: >>> import fnmatch, re >>> >>> regex = fnmatch.translate('*.txt') >>> regex '.*\\.txt\\Z(?ms)' >>> reobj = re.compile(regex) >>> reobj.match('foobar.txt') <_sre.SRE_Match object; span=(0, 10), match='foobar.txt'>

wsgiref.handlers.BaseHandler._flush()

_flush() Force buffered data to be transmitted to the client. It’s okay if this method is a no-op (i.e., if _write() actually sends the data).