weakref.WeakKeyDictionary

class weakref.WeakKeyDictionary([dict]) Mapping class that references keys weakly. Entries in the dictionary will be discarded when there is no longer a strong reference to the key. This can be used to associate additional data with an object owned by other parts of an application without adding attributes to those objects. This can be especially useful with objects that override attribute accesses. Note Caution: Because a WeakKeyDictionary is built on top of a Python dictionary, it must no

decimal.Decimal.as_tuple()

as_tuple() Return a named tuple representation of the number: DecimalTuple(sign, digits, exponent).

ssl.PEM_cert_to_DER_cert()

ssl.PEM_cert_to_DER_cert(PEM_cert_string) Given a certificate as an ASCII PEM string, returns a DER-encoded sequence of bytes for that same certificate.

unittest.TestCase.skipTest()

skipTest(reason) Calling this during a test method or setUp() skips the current test. See Skipping tests and expected failures for more information. New in version 3.1.

enum.unique()

enum.unique() Enum class decorator that ensures only one name is bound to any one value.

mailbox.Maildir.unlock()

unlock() Maildir mailboxes do not support (or require) locking, so these methods do nothing.

io.BytesIO.readinto1()

readinto1() In BytesIO, this is the same as readinto(). New in version 3.5.

logging.Logger.removeFilter()

Logger.removeFilter(filt) Removes the specified filter filt from this logger.

mailbox.MaildirMessage.add_flag()

add_flag(flag) Set the flag(s) specified by flag without changing other flags. To add more than one flag at a time, flag may be a string of more than one character. The current “info” is overwritten whether or not it contains experimental information rather than flags.

filecmp.dircmp.common_files

common_files Files in both a and b.