turtle.undo()

turtle.undo() Undo (repeatedly) the last turtle action(s). Number of available undo actions is determined by the size of the undobuffer. >>> for i in range(4): ... turtle.fd(50); turtle.lt(80) ... >>> for i in range(8): ... turtle.undo()

ipaddress.IPv4Interface

class ipaddress.IPv4Interface(address) Construct an IPv4 interface. The meaning of address is as in the constructor of IPv4Network, except that arbitrary host addresses are always accepted. IPv4Interface is a subclass of IPv4Address, so it inherits all the attributes from that class. In addition, the following attributes are available: ip The address (IPv4Address) without network information. >>> interface = IPv4Interface('192.0.2.5/24') >>> interface.ip IPv4Address('192

ctypes.c_int16

class ctypes.c_int16 Represents the C 16-bit signed int datatype. Usually an alias for c_short.

email.message_from_bytes()

email.message_from_bytes(s, _class=email.message.Message, *, policy=policy.compat32) Return a message object structure from a byte string. This is exactly equivalent to BytesParser().parsebytes(s). Optional _class and strict are interpreted as with the Parser class constructor. New in version 3.2. Changed in version 3.3: Removed the strict argument. Added the policy keyword.

curses.use_default_colors()

curses.use_default_colors() Allow use of default values for colors on terminals supporting this feature. Use this to support transparency in your application. The default color is assigned to the color number -1. After calling this function, init_pair(x, curses.COLOR_RED, -1) initializes, for instance, color pair x to a red foreground color on the default background.

tarfile.TarFile.gettarinfo()

TarFile.gettarinfo(name=None, arcname=None, fileobj=None) Create a TarInfo object from the result of os.stat() or equivalent on an existing file. The file is either named by name, or specified as a file object fileobj with a file descriptor. If given, arcname specifies an alternative name for the file in the archive, otherwise, the name is taken from fileobj’s name attribute, or the name argument. The name should be a text string. You can modify some of the TarInfo’s attributes before you ad

turtle.pensize()

turtle.pensize(width=None) turtle.width(width=None) Parameters: width – a positive number Set the line thickness to width or return it. If resizemode is set to “auto” and turtleshape is a polygon, that polygon is drawn with the same line thickness. If no argument is given, the current pensize is returned. >>> turtle.pensize() 1 >>> turtle.pensize(10) # from here on lines of width 10 are drawn

gettext.lngettext()

gettext.lngettext(singular, plural, n) Equivalent to ngettext(), but the translation is returned in the preferred system encoding, if no other encoding was explicitly set with bind_textdomain_codeset().

configparser.ConfigParser

class configparser.ConfigParser(defaults=None, dict_type=collections.OrderedDict, allow_no_value=False, delimiters=('=', ':'), comment_prefixes=('#', ';'), inline_comment_prefixes=None, strict=True, empty_lines_in_values=True, default_section=configparser.DEFAULTSECT, interpolation=BasicInterpolation(), converters={}) The main configuration parser. When defaults is given, it is initialized into the dictionary of intrinsic defaults. When dict_type is given, it will be used to create the dicti

gettext.NullTranslations.charset()

charset() Return the “protected” _charset variable, which is the encoding of the message catalog file.