ssl.SSLSocket.compression()

SSLSocket.compression() Return the compression algorithm being used as a string, or None if the connection isn’t compressed. If the higher-level protocol supports its own compression mechanism, you can use OP_NO_COMPRESSION to disable SSL-level compression. New in version 3.3.

calendar.LocaleHTMLCalendar

class calendar.LocaleHTMLCalendar(firstweekday=0, locale=None) This subclass of HTMLCalendar can be passed a locale name in the constructor and will return month and weekday names in the specified locale. If this locale includes an encoding all strings containing month and weekday names will be returned as unicode.

dis.distb()

dis.distb(tb=None, *, file=None) Disassemble the top-of-stack function of a traceback, using the last traceback if none was passed. The instruction causing the exception is indicated. The disassembly is written as text to the supplied file argument if provided and to sys.stdout otherwise. Changed in version 3.4: Added file parameter.

xml.dom.Element.getElementsByTagName()

Element.getElementsByTagName(tagName) Same as equivalent method in the Document class.

str.format_map()

str.format_map(mapping) Similar to str.format(**mapping), except that mapping is used directly and not copied to a dict. This is useful if for example mapping is a dict subclass: >>> class Default(dict): ... def __missing__(self, key): ... return key ... >>> '{name} was born in {country}'.format_map(Default(name='Guido')) 'Guido was born in country' New in version 3.2.

weakref.getweakrefs()

weakref.getweakrefs(object) Return a list of all weak reference and proxy objects which refer to object.

tarfile.TarFile.getmember()

TarFile.getmember(name) Return a TarInfo object for member name. If name can not be found in the archive, KeyError is raised. Note If a member occurs more than once in the archive, its last occurrence is assumed to be the most up-to-date version.

modulefinder.AddPackagePath()

modulefinder.AddPackagePath(pkg_name, path) Record that the package named pkg_name can be found in the specified path.

cmd.Cmd.prompt

Cmd.prompt The prompt issued to solicit input.

asyncio.get_event_loop()

asyncio.get_event_loop() Equivalent to calling get_event_loop_policy().get_event_loop().