datetime.tzinfo

class datetime.tzinfo This is an abstract base class, meaning that this class should not be instantiated directly. You need to derive a concrete subclass, and (at least) supply implementations of the standard tzinfo methods needed by the datetime methods you use. The datetime module supplies a simple concrete subclass of tzinfo, timezone, which can represent timezones with fixed offset from UTC such as UTC itself or North American EST and EDT. An instance of (a concrete subclass of) tzinfo c

class.mro()

class.mro() This method can be overridden by a metaclass to customize the method resolution order for its instances. It is called at class instantiation, and its result is stored in __mro__.

wave.Wave_read.getnframes()

Wave_read.getnframes() Returns number of audio frames.

sys.winver

sys.winver The version number used to form registry keys on Windows platforms. This is stored as string resource 1000 in the Python DLL. The value is normally the first three characters of version. It is provided in the sys module for informational purposes; modifying this value has no effect on the registry keys used by Python. Availability: Windows.

trace.Trace.runfunc()

runfunc(func, *args, **kwds) Call func with the given arguments under control of the Trace object with the current tracing parameters.

os.dup2()

os.dup2(fd, fd2, inheritable=True) Duplicate file descriptor fd to fd2, closing the latter first if necessary. The file descriptor fd2 is inheritable by default, or non-inheritable if inheritable is False. Changed in version 3.4: Add the optional inheritable parameter.

decimal.Decimal.is_zero()

is_zero() Return True if the argument is a (positive or negative) zero and False otherwise.

asyncio.BaseProtocol.connection_lost()

BaseProtocol.connection_lost(exc) Called when the connection is lost or closed. The argument is either an exception object or None. The latter means a regular EOF is received, or the connection was aborted or closed by this side of the connection.

curses.window.noutrefresh()

window.noutrefresh() Mark for refresh but wait. This function updates the data structure representing the desired state of the window, but does not force an update of the physical screen. To accomplish that, call doupdate().

sqlite3.Connection.iterdump()

iterdump() Returns an iterator to dump the database in an SQL text format. Useful when saving an in-memory database for later restoration. This function provides the same capabilities as the .dump command in the sqlite3 shell. Example: # Convert file existing_db.db to SQL dump file dump.sql import sqlite3 con = sqlite3.connect('existing_db.db') with open('dump.sql', 'w') as f: for line in con.iterdump(): f.write('%s\n' % line)