curses.window.insertln()

window.insertln() Insert a blank line under the cursor. All following lines are moved down by one line.

pathlib.Path.write_text()

Path.write_text(data, encoding=None, errors=None) Open the file pointed to in text mode, write data to it, and close the file: >>> p = Path('my_text_file') >>> p.write_text('Text file contents') 18 >>> p.read_text() 'Text file contents' New in version 3.5.

ipaddress.IPv6Address.sixtofour

sixtofour For addresses that appear to be 6to4 addresses (starting with 2002::/16) as defined by RFC 3056, this property will report the embedded IPv4 address. For any other address, this property will be None.

urllib.request.HTTPCookieProcessor.cookiejar

HTTPCookieProcessor.cookiejar The http.cookiejar.CookieJar in which cookies are stored.

operator.__rshift__()

operator.__rshift__(a, b) Return a shifted right by b.

profile.runctx()

profile.runctx(command, globals, locals, filename=None) This function is similar to run(), with added arguments to supply the globals and locals dictionaries for the command string. This routine executes: exec(command, globals, locals) and gathers profiling statistics as in the run() function above.

ast.dump()

ast.dump(node, annotate_fields=True, include_attributes=False) Return a formatted dump of the tree in node. This is mainly useful for debugging purposes. The returned string will show the names and the values for fields. This makes the code impossible to evaluate, so if evaluation is wanted annotate_fields must be set to False. Attributes such as line numbers and column offsets are not dumped by default. If this is wanted, include_attributes can be set to True.

math.radians()

math.radians(x) Convert angle x from degrees to radians.

calendar.Calendar.itermonthdays2()

itermonthdays2(year, month) Return an iterator for the month month in the year year similar to itermonthdates(). Days returned will be tuples consisting of a day number and a week day number.

test.support.skip_unless_symlink()

@test.support.skip_unless_symlink A decorator for running tests that require support for symbolic links.