turtle.onkey()

turtle.onkey(fun, key) turtle.onkeyrelease(fun, key) Parameters: fun – a function with no arguments or None key – a string: key (e.g. “a”) or key-symbol (e.g. “space”) Bind fun to key-release event of key. If fun is None, event bindings are removed. Remark: in order to be able to register key-events, TurtleScreen must have the focus. (See method listen().) >>> def f(): ... fd(50) ... lt(60) ... >>> screen.onkey(f, "Up") >>> screen.listen()

termios.tcflush()

termios.tcflush(fd, queue) Discard queued data on file descriptor fd. The queue selector specifies which queue: TCIFLUSH for the input queue, TCOFLUSH for the output queue, or TCIOFLUSH for both queues.

poplib.POP3

class poplib.POP3(host, port=POP3_PORT[, timeout]) This class implements the actual POP3 protocol. The connection is created when the instance is initialized. If port is omitted, the standard POP3 port (110) is used. The optional timeout parameter specifies a timeout in seconds for the connection attempt (if not specified, the global default timeout setting will be used).

locale.str()

locale.str(float) Formats a floating point number using the same format as the built-in function str(float), but takes the decimal point into account.

typing.SupportsRound

class typing.SupportsRound An ABC with one abstract method __round__ that is covariant in its return type.

mailbox.Babyl.get_labels()

get_labels() Return a list of the names of all user-defined labels used in the mailbox. Note The actual messages are inspected to determine which labels exist in the mailbox rather than consulting the list of labels in the Babyl options section, but the Babyl section is updated whenever the mailbox is modified.

ipaddress.IPv6Network.exploded

exploded

urllib.request.URLopener.open_unknown()

open_unknown(fullurl, data=None) Overridable interface to open unknown URL types.

datetime.time.__format__()

time.__format__(format) Same as time.strftime(). This makes it possible to specify a format string for a time object when using str.format(). For a complete list of formatting directives, see strftime() and strptime() Behavior.

ssl.SSLError.reason

reason A string mnemonic designating the reason this error occurred, for example CERTIFICATE_VERIFY_FAILED. The range of possible values depends on the OpenSSL version. New in version 3.3.