curses.ascii.isupper()

curses.ascii.isupper(c) Checks for an ASCII uppercase letter.

decimal.Context.scaleb()

scaleb(x, y) Returns the first operand after adding the second value its exp.

curses.ascii.ispunct()

curses.ascii.ispunct(c) Checks for any printable ASCII character which is not a space or an alphanumeric character.

email.message.Message.walk()

walk() The walk() method is an all-purpose generator which can be used to iterate over all the parts and subparts of a message object tree, in depth-first traversal order. You will typically use walk() as the iterator in a for loop; each iteration returns the next subpart. Here’s an example that prints the MIME type of every part of a multipart message structure: >>> for part in msg.walk(): ... print(part.get_content_type()) multipart/report text/plain message/delivery-status te

ftplib.error_proto

exception ftplib.error_proto Exception raised when a reply is received from the server that does not fit the response specifications of the File Transfer Protocol, i.e. begin with a digit in the range 1–5.

bdb.Bdb.format_stack_entry()

format_stack_entry(frame_lineno, lprefix=': ') Return a string with information about a stack entry, identified by a (frame, lineno) tuple: The canonical form of the filename which contains the frame. The function name, or "<lambda>". The input arguments. The return value. The line of code (if it exists).

io.IOBase.writable()

writable() Return True if the stream supports writing. If False, write() and truncate() will raise OSError.

pathlib.Path.rename()

Path.rename(target) Rename this file or directory to the given target. On Unix, if target exists and is a file, it will be replaced silently if the user has permission. target can be either a string or another path object: >>> p = Path('foo') >>> p.open('w').write('some text') 9 >>> target = Path('bar') >>> p.rename(target) >>> target.open().read() 'some text'

email.message.Message.set_payload()

set_payload(payload, charset=None) Set the entire message object’s payload to payload. It is the client’s responsibility to ensure the payload invariants. Optional charset sets the message’s default character set; see set_charset() for details.

operator.delitem()

operator.delitem(a, b) operator.__delitem__(a, b) Remove the value of a at index b.