asyncio.AbstractEventLoop.create_future()

AbstractEventLoop.create_future() Create an asyncio.Future object attached to the loop. This is a preferred way to create futures in asyncio, as event loop implementations can provide alternative implementations of the Future class (with better performance or instrumentation). New in version 3.5.2.

asyncio.Queue.get_nowait()

get_nowait() Remove and return an item from the queue. Return an item if one is immediately available, else raise QueueEmpty.

http.cookiejar.Cookie.secure

Cookie.secure True if cookie should only be returned over a secure connection.

getpass.getpass()

getpass.getpass(prompt='Password: ', stream=None) Prompt the user for a password without echoing. The user is prompted using the string prompt, which defaults to 'Password: '. On Unix, the prompt is written to the file-like object stream using the replace error handler if needed. stream defaults to the controlling terminal (/dev/tty) or if that is unavailable to sys.stderr (this argument is ignored on Windows). If echo free input is unavailable getpass() falls back to printing a warning mess

WindowsError

exception WindowsError Only available on Windows.

email.policy.Policy.header_fetch_parse()

header_fetch_parse(name, value) The email package calls this method with the name and value currently stored in the Message when that header is requested by the application program, and whatever the method returns is what is passed back to the application as the value of the header being retrieved. Note that there may be more than one header with the same name stored in the Message; the method is passed the specific name and value of the header destined to be returned to the application. val

doctest.script_from_examples()

doctest.script_from_examples(s) Convert text with examples to a script. Argument s is a string containing doctest examples. The string is converted to a Python script, where doctest examples in s are converted to regular code, and everything else is converted to Python comments. The generated script is returned as a string. For example, import doctest print(doctest.script_from_examples(r""" Set x and y to 1 and 2. >>> x, y = 1, 2 Print their sum: >>> print(

curses.filter()

curses.filter() The filter() routine, if used, must be called before initscr() is called. The effect is that, during those calls, LINES is set to 1; the capabilities clear, cup, cud, cud1, cuu1, cuu, vpa are disabled; and the home string is set to the value of cr. The effect is that the cursor is confined to the current line, and so are screen updates. This may be used for enabling character-at-a-time line editing without touching the rest of the screen.

bdb.Bdb.stop_here()

stop_here(frame) This method checks if the frame is somewhere below botframe in the call stack. botframe is the frame in which debugging started.

zipfile.ZipInfo.flag_bits

ZipInfo.flag_bits ZIP flag bits.