turtle.getturtle()

turtle.getturtle() 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...>

urllib.request.FileHandler

class urllib.request.FileHandler Open local files.

multiprocessing.Semaphore

class multiprocessing.Semaphore([value]) A semaphore object: a close analog of threading.Semaphore. A solitary difference from its close analog exists: its acquire method’s first argument is named block, as is consistent with Lock.acquire().

struct.unpack_from()

struct.unpack_from(fmt, buffer, offset=0) Unpack from buffer starting at position offset, according to the format string fmt. The result is a tuple even if it contains exactly one item. The buffer’s size in bytes, minus offset, must be at least the size required by the format, as reflected by calcsize().

NotADirectoryError

exception NotADirectoryError Raised when a directory operation (such as os.listdir()) is requested on something which is not a directory. Corresponds to errno ENOTDIR.

datetime.datetime.microsecond

datetime.microsecond In range(1000000).

ipaddress.IPv4Network.is_unspecified

is_unspecified

locale.atoi()

locale.atoi(string) Converts a string to an integer, following the LC_NUMERIC conventions.

ftplib.error_temp

exception ftplib.error_temp Exception raised when an error code signifying a temporary error (response codes in the range 400–499) is received.

urllib.request.OpenerDirector

class urllib.request.OpenerDirector The OpenerDirector class opens URLs via BaseHandlers chained together. It manages the chaining of handlers, and recovery from errors.