set.intersection_update()

intersection_update(other, ...) set &= other & ... Update the set, keeping only elements found in it and all others.

zipimport.zipimporter.archive

archive The file name of the importer’s associated ZIP file, without a possible subpath.

turtle.lt()

turtle.lt(angle) Parameters: angle – a number (integer or float) Turn turtle left by angle units. (Units are by default degrees, but can be set via the degrees() and radians() functions.) Angle orientation depends on the turtle mode, see mode(). >>> turtle.heading() 22.0 >>> turtle.left(45) >>> turtle.heading() 67.0

operator.eq()

operator.eq(a, b) operator.ne(a, b) operator.ge(a, b) operator.gt(a, b) operator.__lt__(a, b) operator.__le__(a, b) operator.__eq__(a, b) operator.__ne__(a, b) operator.__ge__(a, b) operator.__gt__(a, b) Perform “rich comparisons” between a and b. Specifically, lt(a, b) is equivalent to a < b, le(a, b) is equivalent to a <= b, eq(a, b) is equivalent to a == b, ne(a, b) is equivalent to a != b, gt(a, b) is equivalent to a > b and ge(a, b) is equivalent to a >= b. Note that these fu

xml.sax.SAXException.getException()

SAXException.getException() Return an encapsulated exception object, or None.

datetime.datetime.weekday()

datetime.weekday() Return the day of the week as an integer, where Monday is 0 and Sunday is 6. The same as self.date().weekday(). See also isoweekday().

mmap.mmap.read()

read([n]) Return a bytes containing up to n bytes starting from the current file position. If the argument is omitted, None or negative, return all bytes from the current file position to the end of the mapping. The file position is updated to point after the bytes that were returned. Changed in version 3.3: Argument can be omitted or None.

xml.parsers.expat.ExpatError.code

ExpatError.code Expat’s internal error number for the specific error. The errors.messages dictionary maps these error numbers to Expat’s error messages. For example: from xml.parsers.expat import ParserCreate, ExpatError, errors p = ParserCreate() try: p.Parse(some_xml_document) except ExpatError as err: print("Error:", errors.messages[err.code]) The errors module also provides error message constants and a dictionary codes mapping these messages back to the error codes, see below.

http.server.SimpleHTTPRequestHandler

class http.server.SimpleHTTPRequestHandler(request, client_address, server) This class serves files from the current directory and below, directly mapping the directory structure to HTTP requests. A lot of the work, such as parsing the request, is done by the base class BaseHTTPRequestHandler. This class implements the do_GET() and do_HEAD() functions. The following are defined as class-level attributes of SimpleHTTPRequestHandler: server_version This will be "SimpleHTTP/" + __version__,

urllib.request.FTPHandler.ftp_open()

FTPHandler.ftp_open(req) Open the FTP file indicated by req. The login is always done with empty username and password.