stat.S_ISREG()

stat.S_ISREG(mode) Return non-zero if the mode is from a regular file.

os.extsep

os.extsep The character which separates the base filename from the extension; for example, the '.' in os.py. Also available via os.path.

typing.NamedTuple()

typing.NamedTuple(typename, fields) Typed version of namedtuple. Usage: Employee = typing.NamedTuple('Employee', [('name', str), ('id', int)]) This is equivalent to: Employee = collections.namedtuple('Employee', ['name', 'id']) The resulting class has one extra attribute: _field_types, giving a dict mapping field names to types. (The field names are in the _fields attribute, which is part of the namedtuple API.)

unittest.TestCase.assertGreaterEqual()

assertGreaterEqual(first, second, msg=None) 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.

nntplib.NNTP.next()

NNTP.next() Send a NEXT command. Return as for stat().

asyncio.Future.cancelled()

cancelled() Return True if the future was cancelled.

sqlite3.Connection.executescript()

executescript(sql_script) This is a nonstandard shortcut that creates a cursor object by calling the cursor() method, calls the cursor’s executescript() method with the given sql_script, and returns the cursor.

math.tan()

math.tan(x) Return the tangent of x radians.

concurrent.futures.Future.exception()

exception(timeout=None) Return the exception raised by the call. If the call hasn’t yet completed then this method will wait up to timeout seconds. If the call hasn’t completed in timeout seconds, then a concurrent.futures.TimeoutError will be raised. timeout can be an int or float. If timeout is not specified or None, there is no limit to the wait time. If the future is cancelled before completing then CancelledError will be raised. If the call completed without raising, None is returned.

audioop.cross()

audioop.cross(fragment, width) Return the number of zero crossings in the fragment passed as an argument.