wave.Wave_write.setsampwidth()

Wave_write.setsampwidth(n) Set the sample width to n bytes.

test.support.findfile()

test.support.findfile(filename, subdir=None) Return the path to the file named filename. If no match is found filename is returned. This does not equal a failure since it could be the path to the file. Setting subdir indicates a relative path to use to find the file rather than looking directly in the path directories.

asyncio.sleep()

coroutine asyncio.sleep(delay, result=None, *, loop=None) Create a coroutine that completes after a given time (in seconds). If result is provided, it is produced to the caller when the coroutine completes. The resolution of the sleep depends on the granularity of the event loop. This function is a coroutine.

turtle.getpen()

turtle.getpen() Return the Turtle object itself. Only reasonable use: as a function to return the “anonymous turtle”: >>> pet = getturtle() >>> pet.fd(50) >>> pet <turtle.Turtle object at 0x...>

mailbox.Message

class mailbox.Message(message=None) A subclass of the email.message module’s Message. Subclasses of mailbox.Message add mailbox-format-specific state and behavior. If message is omitted, the new instance is created in a default, empty state. If message is an email.message.Message instance, its contents are copied; furthermore, any format-specific information is converted insofar as possible if message is a Message instance. If message is a string, a byte string, or a file, it should contain

code.InteractiveInterpreter.showtraceback()

InteractiveInterpreter.showtraceback() Display the exception that just occurred. We remove the first stack item because it is within the interpreter object implementation. The output is written by the write() method. Changed in version 3.5: The full chained traceback is displayed instead of just the primary traceback.

signal.pause()

signal.pause() Cause the process to sleep until a signal is received; the appropriate handler will then be called. Returns nothing. Not on Windows. (See the Unix man page signal(2).) See also sigwait(), sigwaitinfo(), sigtimedwait() and sigpending().

difflib.SequenceMatcher.quick_ratio()

quick_ratio() Return an upper bound on ratio() relatively quickly.

logging.FileHandler.close()

close() Closes the file.

decimal.Context.is_canonical()

is_canonical(x) Returns True if x is canonical; otherwise returns False.