importlib.abc.ExecutionLoader.get_filename()

abstractmethod get_filename(fullname) An abstract method that is to return the value of __file__ for the specified module. If no path is available, ImportError is raised. If source code is available, then the method should return the path to the source file, regardless of whether a bytecode was used to load the module. Changed in version 3.4: Raises ImportError instead of NotImplementedError.

struct.pack_into()

struct.pack_into(fmt, buffer, offset, v1, v2, ...) Pack the values v1, v2, ... according to the format string fmt and write the packed bytes into the writable buffer buffer starting at position offset. Note that offset is a required argument.

collections.abc.Container

class collections.abc.Container class collections.abc.Hashable class collections.abc.Sized class collections.abc.Callable ABCs for classes that provide respectively the methods __contains__(), __hash__(), __len__(), and __call__().

socket.getservbyport()

socket.getservbyport(port[, protocolname]) Translate an Internet port number and protocol name to a service name for that service. The optional protocol name, if given, should be 'tcp' or 'udp', otherwise any protocol will match.

ossaudiodev.oss_mixer_device.stereocontrols()

oss_mixer_device.stereocontrols() Returns a bitmask indicating stereo mixer controls. If a bit is set, the corresponding control is stereo; if it is unset, the control is either monophonic or not supported by the mixer (use in combination with controls() to determine which). See the code example for the controls() function for an example of getting data from a bitmask.

readline.get_current_history_length()

readline.get_current_history_length() Return the number of items currently in the history. (This is different from get_history_length(), which returns the maximum number of lines that will be written to a history file.)

calendar.monthcalendar()

calendar.monthcalendar(year, month) Returns a matrix representing a month’s calendar. Each row represents a week; days outside of the month a represented by zeros. Each week begins with Monday unless set by setfirstweekday().

msilib.Feature

class msilib.Feature(db, id, title, desc, display, level=1, parent=None, directory=None, attributes=0) Add a new record to the Feature table, using the values id, parent.id, title, desc, display, level, directory, and attributes. The resulting feature object can be passed to the start_component() method of Directory. set_current() Make this feature the current feature of msilib. New components are automatically added to the default feature, unless a feature is explicitly specified.

unittest.TextTestResult

class unittest.TextTestResult(stream, descriptions, verbosity) A concrete implementation of TestResult used by the TextTestRunner. New in version 3.2: This class was previously named _TextTestResult. The old name still exists as an alias but is deprecated.

dict.copy()

copy() Return a shallow copy of the dictionary.