turtle.towards()

turtle.towards(x, y=None) Parameters: x – a number or a pair/vector of numbers or a turtle instance y – a number if x is a number, else None Return the angle between the line from turtle position to position specified by (x,y), the vector or the other turtle. This depends on the turtle’s start orientation which depends on the mode - “standard”/”world” or “logo”). >>> turtle.goto(10, 10) >>> turtle.towards(0,0) 225.0

xml.sax.xmlreader.XMLReader.setContentHandler()

XMLReader.setContentHandler(handler) Set the current ContentHandler. If no ContentHandler is set, content events will be discarded.

os.path.sameopenfile()

os.path.sameopenfile(fp1, fp2) Return True if the file descriptors fp1 and fp2 refer to the same file. Availability: Unix, Windows. Changed in version 3.2: Added Windows support.

ast.literal_eval()

ast.literal_eval(node_or_string) Safely evaluate an expression node or a string containing a Python literal or container display. The string or node provided may only consist of the following Python literal structures: strings, bytes, numbers, tuples, lists, dicts, sets, booleans, and None. This can be used for safely evaluating strings containing Python values from untrusted sources without the need to parse the values oneself. It is not capable of evaluating arbitrarily complex expressions

curses.window.bkgdset()

window.bkgdset(ch[, attr]) Set the window’s background. A window’s background consists of a character and any combination of attributes. The attribute part of the background is combined (OR’ed) with all non-blank characters that are written into the window. Both the character and attribute parts of the background are combined with the blank characters. The background becomes a property of the character and moves with the character through any scrolling and insert/delete line/character operat

xml.parsers.expat.xmlparser.ElementDeclHandler()

xmlparser.ElementDeclHandler(name, model) Called once for each element type declaration. name is the name of the element type, and model is a representation of the content model.

dict.pop()

pop(key[, default]) If key is in the dictionary, remove it and return its value, else return default. If default is not given and key is not in the dictionary, a KeyError is raised.

pprint.isreadable()

pprint.isreadable(object) Determine if the formatted representation of object is “readable,” or can be used to reconstruct the value using eval(). This always returns False for recursive objects. >>> pprint.isreadable(stuff) False

codecs.IncrementalEncoder.getstate()

IncrementalEncoder.getstate() Return the current state of the encoder which must be an integer. The implementation should make sure that 0 is the most common state. (States that are more complicated than integers can be converted into an integer by marshaling/pickling the state and encoding the bytes of the resulting string into an integer).

xmlrpc.server.CGIXMLRPCRequestHandler.handle_request()

CGIXMLRPCRequestHandler.handle_request(request_text=None) Handle an XML-RPC request. If request_text is given, it should be the POST data provided by the HTTP server, otherwise the contents of stdin will be used.