collections.deque.copy()

copy() Create a shallow copy of the deque. New in version 3.5.

threading.Thread.isDaemon()

isDaemon() setDaemon() Old getter/setter API for daemon; use it directly as a property instead.

itertools.dropwhile()

itertools.dropwhile(predicate, iterable) Make an iterator that drops elements from the iterable as long as the predicate is true; afterwards, returns every element. Note, the iterator does not produce any output until the predicate first becomes false, so it may have a lengthy start-up time. Roughly equivalent to: def dropwhile(predicate, iterable): # dropwhile(lambda x: x<5, [1,4,6,4,1]) --> 6 4 1 iterable = iter(iterable) for x in iterable: if not predicate(x):

turtle.stamp()

turtle.stamp() Stamp a copy of the turtle shape onto the canvas at the current turtle position. Return a stamp_id for that stamp, which can be used to delete it by calling clearstamp(stamp_id). >>> turtle.color("blue") >>> turtle.stamp() 11 >>> turtle.fd(50)

ssl.OP_NO_TLSv1_1

ssl.OP_NO_TLSv1_1 Prevents a TLSv1.1 connection. This option is only applicable in conjunction with PROTOCOL_SSLv23. It prevents the peers from choosing TLSv1.1 as the protocol version. Available only with openssl version 1.0.1+. New in version 3.4.

bdb.Bdb.run()

run(cmd, globals=None, locals=None) Debug a statement executed via the exec() function. globals defaults to __main__.__dict__, locals defaults to globals.

modulefinder.ReplacePackage()

modulefinder.ReplacePackage(oldname, newname) Allows specifying that the module named oldname is in fact the package named newname.

asyncio.WriteTransport.write_eof()

write_eof() Close the write end of the transport after flushing buffered data. Data may still be received. This method can raise NotImplementedError if the transport (e.g. SSL) doesn’t support half-closes.

code.InteractiveInterpreter.runsource()

InteractiveInterpreter.runsource(source, filename="", symbol="single") Compile and run some source in the interpreter. Arguments are the same as for compile_command(); the default for filename is '<input>', and for symbol is 'single'. One several things can happen: The input is incorrect; compile_command() raised an exception (SyntaxError or OverflowError). A syntax traceback will be printed by calling the showsyntaxerror() method. runsource() returns False. The input is incomplete, an

bdb.Bdb

class bdb.Bdb(skip=None) The Bdb class acts as a generic Python debugger base class. This class takes care of the details of the trace facility; a derived class should implement user interaction. The standard debugger class (pdb.Pdb) is an example. The skip argument, if given, must be an iterable of glob-style module name patterns. The debugger will not step into frames that originate in a module that matches one of these patterns. Whether a frame is considered to originate in a certain modu