email.charset.Charset.body_encoding

body_encoding Same as header_encoding, but describes the encoding for the mail message’s body, which indeed may be different than the header encoding. Charset.SHORTEST is not allowed for body_encoding.

curses.ascii.isalnum()

curses.ascii.isalnum(c) Checks for an ASCII alphanumeric character; it is equivalent to isalpha(c) or isdigit(c).

unittest.TestCase.assertLess()

assertLess(first, second, msg=None) assertLessEqual(first, second, msg=None) Test that first is respectively >, >=, < or <= than second depending on the method name. If not, the test will fail: >>> self.assertGreaterEqual(3, 4) AssertionError: "3" unexpectedly not greater than or equal to "4" New in version 3.1.

gettext.lgettext()

gettext.lgettext(message) Equivalent to gettext(), but the translation is returned in the preferred system encoding, if no other encoding was explicitly set with bind_textdomain_codeset().

collections.Counter.update()

update([iterable-or-mapping]) Elements are counted from an iterable or added-in from another mapping (or counter). Like dict.update() but adds counts instead of replacing them. Also, the iterable is expected to be a sequence of elements, not a sequence of (key, value) pairs.

shutil.copyfile()

shutil.copyfile(src, dst, *, follow_symlinks=True) Copy the contents (no metadata) of the file named src to a file named dst and return dst. src and dst are path names given as strings. dst must be the complete target file name; look at shutil.copy() for a copy that accepts a target directory path. If src and dst specify the same file, SameFileError is raised. The destination location must be writable; otherwise, an OSError exception will be raised. If dst already exists, it will be replaced

operator.__truediv__()

operator.__truediv__(a, b) Return a / b where 2/3 is .66 rather than 0. This is also known as “true” division.

logging.getLogRecordFactory()

logging.getLogRecordFactory() Return a callable which is used to create a LogRecord. New in version 3.2: This function has been provided, along with setLogRecordFactory(), to allow developers more control over how the LogRecord representing a logging event is constructed. See setLogRecordFactory() for more information about the how the factory is called.

stringprep.in_table_c3()

stringprep.in_table_c3(code) Determine whether code is in tableC.3 (Private use).

subprocess.STARTUPINFO.wShowWindow

wShowWindow If dwFlags specifies STARTF_USESHOWWINDOW, this attribute can be any of the values that can be specified in the nCmdShow parameter for the ShowWindow function, except for SW_SHOWDEFAULT. Otherwise, this attribute is ignored. SW_HIDE is provided for this attribute. It is used when Popen is called with shell=True.