ipaddress.IPv6Network.with_hostmask

with_hostmask

re.match.lastindex

match.lastindex The integer index of the last matched capturing group, or None if no group was matched at all. For example, the expressions (a)b, ((a)(b)), and ((ab)) will have lastindex == 1 if applied to the string 'ab', while the expression (a)(b) will have lastindex == 2, if applied to the same string.

platform.dist()

platform.dist(distname='', version='', id='', supported_dists=('SuSE', 'debian', 'redhat', 'mandrake', ...)) This is another name for linux_distribution(). Deprecated since version 3.5, will be removed in version 3.7.

ossaudiodev.oss_audio_device.channels()

oss_audio_device.channels(nchannels) Set the number of output channels to nchannels. A value of 1 indicates monophonic sound, 2 stereophonic. Some devices may have more than 2 channels, and some high-end devices may not support mono. Returns the number of channels the device was set to.

re.match.expand()

match.expand(template) Return the string obtained by doing backslash substitution on the template string template, as done by the sub() method. Escapes such as \n are converted to the appropriate characters, and numeric backreferences (\1, \2) and named backreferences (\g<1>, \g<name>) are replaced by the contents of the corresponding group. Changed in version 3.5: Unmatched groups are replaced with an empty string.

wave.open()

wave.open(file, mode=None) If file is a string, open the file by that name, otherwise treat it as a file-like object. mode can be: 'rb' Read only mode. 'wb' Write only mode. Note that it does not allow read/write WAV files. A mode of 'rb' returns a Wave_read object, while a mode of 'wb' returns a Wave_write object. If mode is omitted and a file-like object is passed as file, file.mode is used as the default value for mode. If you pass in a file-like object, the wave object will not clo

dbm.gnu.gdbm.close()

gdbm.close() Close the gdbm database.

filecmp.DEFAULT_IGNORES

filecmp.DEFAULT_IGNORES New in version 3.4. List of directories ignored by dircmp by default.

tabnanny.filename_only

tabnanny.filename_only Flag indicating whether to print only the filenames of files containing whitespace related problems. This is set to true by the -q option if called as a script.

bytes.join()

bytes.join(iterable) bytearray.join(iterable) Return a bytes or bytearray object which is the concatenation of the binary data sequences in the iterable iterable. A TypeError will be raised if there are any values in iterable that are not bytes-like objects, including str objects. The separator between elements is the contents of the bytes or bytearray object providing this method.