os.getpriority()

os.getpriority(which, who) Get program scheduling priority. The value which is one of PRIO_PROCESS, PRIO_PGRP, or PRIO_USER, and who is interpreted relative to which (a process identifier for PRIO_PROCESS, process group identifier for PRIO_PGRP, and a user ID for PRIO_USER). A zero value for who denotes (respectively) the calling process, the process group of the calling process, or the real user ID of the calling process. Availability: Unix. New in version 3.3.

io.BufferedReader.peek()

peek([size]) Return bytes from the stream without advancing the position. At most one single read on the raw stream is done to satisfy the call. The number of bytes returned may be less or more than requested.

stringprep.in_table_d1()

stringprep.in_table_d1(code) Determine whether code is in tableD.1 (Characters with bidirectional property “R” or “AL”).

audioop.lin2alaw()

audioop.lin2alaw(fragment, width) Convert samples in the audio fragment to a-LAW encoding and return this as a bytes object. a-LAW is an audio encoding format whereby you get a dynamic range of about 13 bits using only 8 bit samples. It is used by the Sun audio hardware, among others.

colorsys.yiq_to_rgb()

colorsys.yiq_to_rgb(y, i, q) Convert the color from YIQ coordinates to RGB coordinates.

urllib.request.URLopener.version

version Variable that specifies the user agent of the opener object. To get urllib to tell servers that it is a particular user agent, set this in a subclass as a class variable or in the constructor before calling the base constructor.

http.server.BaseHTTPRequestHandler.rfile

rfile Contains an input stream, positioned at the start of the optional input data.

typing.cast()

typing.cast(typ, val) Cast a value to a type. This returns the value unchanged. To the type checker this signals that the return value has the designated type, but at runtime we intentionally don’t check anything (we want this to be as fast as possible).

unittest.TestResult.testsRun

testsRun The total number of tests run so far.

math.factorial()

math.factorial(x) Return x factorial. Raises ValueError if x is not integral or is negative.