importlib.util.set_package()

@importlib.util.set_package A decorator for importlib.abc.Loader.load_module() to set the __package__ attribute on the returned module. If __package__ is set and has a value other than None it will not be changed. Deprecated since version 3.4: The import machinery takes care of this automatically.

ctypes.get_last_error()

ctypes.get_last_error() Windows only: returns the current value of the ctypes-private copy of the system LastError variable in the calling thread.

test.support.EnvironmentVarGuard.unset()

EnvironmentVarGuard.unset(envvar) Temporarily unset the environment variable envvar.

asyncio.AbstractEventLoop.set_task_factory()

AbstractEventLoop.set_task_factory(factory) Set a task factory that will be used by AbstractEventLoop.create_task(). If factory is None the default task factory will be set. If factory is a callable, it should have a signature matching (loop, coro), where loop will be a reference to the active event loop, coro will be a coroutine object. The callable must return an asyncio.Future compatible object. New in version 3.4.4.

curses.window.clrtoeol()

window.clrtoeol() Erase from cursor to the end of the line.

wave.Wave_read.getmark()

Wave_read.getmark(id) Raise an error.

multiprocessing.sharedctypes.copy()

multiprocessing.sharedctypes.copy(obj) Return a ctypes object allocated from shared memory which is a copy of the ctypes object obj.

xml.sax.xmlreader.InputSource.setCharacterStream()

InputSource.setCharacterStream(charfile) Set the character stream (a text file) for this input source. If there is a character stream specified, the SAX parser will ignore any byte stream and will not attempt to open a URI connection to the system identifier.

ipaddress.IPv4Address.is_global

is_global True if the address is allocated for public networks. See iana-ipv4-special-registry (for IPv4) or iana-ipv6-special-registry (for IPv6). New in version 3.4.

bin()

bin(x) Convert an integer number to a binary string. The result is a valid Python expression. If x is not a Python int object, it has to define an __index__() method that returns an integer.