mailbox.Mailbox.__getitem__()

__getitem__(key) Return a representation of the message corresponding to key. If no such message exists, default is returned if the method was called as get() and a KeyError exception is raised if the method was called as __getitem__(). The message is represented as an instance of the appropriate format-specific Message subclass unless a custom message factory was specified when the Mailbox instance was initialized.

tracemalloc.Snapshot.dump()

dump(filename) Write the snapshot into a file. Use load() to reload the snapshot.

sum()

sum(iterable[, start]) Sums start and the items of an iterable from left to right and returns the total. start defaults to 0. The iterable‘s items are normally numbers, and the start value is not allowed to be a string. For some use cases, there are good alternatives to sum(). The preferred, fast way to concatenate a sequence of strings is by calling ''.join(sequence). To add floating point values with extended precision, see math.fsum(). To concatenate a series of iterables, consider using

curses.window.get_wch()

window.get_wch([y, x]) Get a wide character. Return a character for most keys, or an integer for function keys, keypad keys, and other special keys. New in version 3.3.

datetime.timezone.tzname()

timezone.tzname(dt) Return the fixed value specified when the timezone instance is constructed or a string ‘UTCsHH:MM’, where s is the sign of offset, HH and MM are two digits of offset.hours and offset.minutes respectively.

logging.handlers.HTTPHandler.emit()

emit(record) Sends the record to the Web server as a URL-encoded dictionary. The mapLogRecord() method is used to convert the record to the dictionary to be sent.

importlib.machinery.DEBUG_BYTECODE_SUFFIXES

importlib.machinery.DEBUG_BYTECODE_SUFFIXES A list of strings representing the file suffixes for non-optimized bytecode modules. New in version 3.3. Deprecated since version 3.5: Use BYTECODE_SUFFIXES instead.

random.lognormvariate()

random.lognormvariate(mu, sigma) Log normal distribution. If you take the natural logarithm of this distribution, you’ll get a normal distribution with mean mu and standard deviation sigma. mu can have any value, and sigma must be greater than zero.

multiprocessing.managers.BaseManager.start()

start([initializer[, initargs]]) Start a subprocess to start the manager. If initializer is not None then the subprocess will call initializer(*initargs) when it starts.

select.devpoll.modify()

devpoll.modify(fd[, eventmask]) This method does an unregister() followed by a register(). It is (a bit) more efficient that doing the same explicitly.