mmap.mmap.resize()

resize(newsize) Resizes the map and the underlying file, if any. If the mmap was created with ACCESS_READ or ACCESS_COPY, resizing the map will raise a TypeError exception.

asyncio.set_event_loop_policy()

asyncio.set_event_loop_policy(policy) Set the current event loop policy. If policy is None, the default policy is restored.

webbrowser.Error

exception webbrowser.Error Exception raised when a browser control error occurs.

ast.copy_location()

ast.copy_location(new_node, old_node) Copy source location (lineno and col_offset) from old_node to new_node if possible, and return new_node.

xml.dom.Node.hasChildNodes()

Node.hasChildNodes() Returns true if the node has any child nodes.

ctypes.create_string_buffer()

ctypes.create_string_buffer(init_or_size, size=None) This function creates a mutable character buffer. The returned object is a ctypes array of c_char. init_or_size must be an integer which specifies the size of the array, or a bytes object which will be used to initialize the array items. If a bytes object is specified as first argument, the buffer is made one item larger than its length so that the last element in the array is a NUL termination character. An integer can be passed as second

os.setpgrp()

os.setpgrp() Call the system call setpgrp() or setpgrp(0, 0) depending on which version is implemented (if any). See the Unix manual for the semantics. Availability: Unix.

decimal.Context.compare_signal()

compare_signal(x, y) Compares the values of the two operands numerically.

mmap.mmap.seek()

seek(pos[, whence]) Set the file’s current position. whence argument is optional and defaults to os.SEEK_SET or 0 (absolute file positioning); other values are os.SEEK_CUR or 1 (seek relative to the current position) and os.SEEK_END or 2 (seek relative to the file’s end).

random.gammavariate()

random.gammavariate(alpha, beta) Gamma distribution. (Not the gamma function!) Conditions on the parameters are alpha > 0 and beta > 0. The probability distribution function is: x ** (alpha - 1) * math.exp(-x / beta) pdf(x) = -------------------------------------- math.gamma(alpha) * beta ** alpha