heapq.heappush()

heapq.heappush(heap, item) Push the value item onto the heap, maintaining the heap invariant.

ipaddress.IPv6Network.num_addresses

num_addresses

termios.tcflow()

termios.tcflow(fd, action) Suspend or resume input or output on file descriptor fd. The action argument can be TCOOFF to suspend output, TCOON to restart output, TCIOFF to suspend input, or TCION to restart input.

os.path.normpath()

os.path.normpath(path) Normalize a pathname by collapsing redundant separators and up-level references so that A//B, A/B/, A/./B and A/foo/../B all become A/B. This string manipulation may change the meaning of a path that contains symbolic links. On Windows, it converts forward slashes to backward slashes. To normalize case, use normcase().

shutil.rmtree.avoids_symlink_attacks

rmtree.avoids_symlink_attacks Indicates whether the current platform and implementation provides a symlink attack resistant version of rmtree(). Currently this is only true for platforms supporting fd-based directory access functions. New in version 3.3.

xdrlib.Error

exception xdrlib.Error The base exception class. Error has a single public attribute msg containing the description of the error.

doctest.Example.indent

indent The example’s indentation in the containing string, i.e., the number of space characters that precede the example’s first prompt.

turtle.get_shapepoly()

turtle.get_shapepoly() Return the current shape polygon as tuple of coordinate pairs. This can be used to define a new shape or components of a compound shape. >>> turtle.shape("square") >>> turtle.shapetransform(4, -1, 0, 2) >>> turtle.get_shapepoly() ((50, -20), (30, 20), (-50, 20), (-30, -20))

reprlib.Repr.maxdeque

Repr.maxdeque Repr.maxarray Limits on the number of entries represented for the named object type. The default is 4 for maxdict, 5 for maxarray, and 6 for the others.

str.strip()

str.strip([chars]) Return a copy of the string with the leading and trailing characters removed. The chars argument is a string specifying the set of characters to be removed. If omitted or None, the chars argument defaults to removing whitespace. The chars argument is not a prefix or suffix; rather, all combinations of its values are stripped: >>> ' spacious '.strip() 'spacious' >>> 'www.example.com'.strip('cmowz.') 'example' The outermost leading and trailing chars a