select.epoll.fromfd()

epoll.fromfd(fd) Create an epoll object from a given file descriptor.

argparse.ArgumentParser.convert_arg_line_to_args()

ArgumentParser.convert_arg_line_to_args(arg_line) Arguments that are read from a file (see the fromfile_prefix_chars keyword argument to the ArgumentParser constructor) are read one argument per line. convert_arg_line_to_args() can be overridden for fancier reading. This method takes a single argument arg_line which is a string read from the argument file. It returns a list of arguments parsed from this string. The method is called once per line read from the argument file, in order. A usefu

pdb.set_trace()

pdb.set_trace() Enter the debugger at the calling stack frame. This is useful to hard-code a breakpoint at a given point in a program, even if the code is not otherwise being debugged (e.g. when an assertion fails).

tracemalloc.StatisticDiff.count

count Number of memory blocks in the new snapshot (int): 0 if the memory blocks have been released in the new snapshot.

bdb.Bdb.user_return()

user_return(frame, return_value) This method is called from dispatch_return() when stop_here() yields True.

ipaddress.IPv4Network.exploded

exploded A string representation of the network, with the mask in prefix notation. with_prefixlen and compressed are always the same as str(network). exploded uses the exploded form the network address.

mailbox.MaildirMessage.set_subdir()

set_subdir(subdir) Set the subdirectory the message should be stored in. Parameter subdir must be either “new” or “cur”.

turtle.getpen()

turtle.getpen() Return the Turtle object itself. Only reasonable use: as a function to return the “anonymous turtle”: >>> pet = getturtle() >>> pet.fd(50) >>> pet <turtle.Turtle object at 0x...>

asyncio.sleep()

coroutine asyncio.sleep(delay, result=None, *, loop=None) Create a coroutine that completes after a given time (in seconds). If result is provided, it is produced to the caller when the coroutine completes. The resolution of the sleep depends on the granularity of the event loop. This function is a coroutine.

test.support.findfile()

test.support.findfile(filename, subdir=None) Return the path to the file named filename. If no match is found filename is returned. This does not equal a failure since it could be the path to the file. Setting subdir indicates a relative path to use to find the file rather than looking directly in the path directories.