xdrlib.Unpacker.unpack_double()

Unpacker.unpack_double() Unpacks a double-precision floating point number, similarly to unpack_float().

cmath.sin()

cmath.sin(x) Return the sine of x.

doctest.UnexpectedException

exception doctest.UnexpectedException(test, example, exc_info) An exception raised by DocTestRunner to signal that a doctest example raised an unexpected exception. The constructor arguments are used to initialize the attributes of the same names.

xmlrpc.server.SimpleXMLRPCRequestHandler

class xmlrpc.server.SimpleXMLRPCRequestHandler Create a new request handler instance. This request handler supports POST requests and modifies logging so that the logRequests parameter to the SimpleXMLRPCServer constructor parameter is honored.

unittest.TestLoader.loadTestsFromModule()

loadTestsFromModule(module, pattern=None) Return a suite of all tests cases contained in the given module. This method searches module for classes derived from TestCase and creates an instance of the class for each test method defined for the class. Note While using a hierarchy of TestCase-derived classes can be convenient in sharing fixtures and helper functions, defining test methods on base classes that are not intended to be instantiated directly does not play well with this method. Doi

unittest.TestCase.assertMultiLineEqual()

assertMultiLineEqual(first, second, msg=None) Test that the multiline string first is equal to the string second. When not equal a diff of the two strings highlighting the differences will be included in the error message. This method is used by default when comparing strings with assertEqual(). New in version 3.1.

unittest.TestCase.assertGreater()

assertGreater(first, second, msg=None) assertGreaterEqual(first, second, msg=None) assertLess(first, second, msg=None) assertLessEqual(first, second, msg=None) Test that first is respectively >, >=, < or <= than second depending on the method name. If not, the test will fail: >>> self.assertGreaterEqual(3, 4) AssertionError: "3" unexpectedly not greater than or equal to "4" New in version 3.1.

asyncio.Condition.acquire()

coroutine acquire() Acquire the underlying lock. This method blocks until the lock is unlocked, then sets it to locked and returns True. This method is a coroutine.

multiprocessing.Condition

class multiprocessing.Condition([lock]) A condition variable: an alias for threading.Condition. If lock is specified then it should be a Lock or RLock object from multiprocessing. Changed in version 3.3: The wait_for() method was added.

msvcrt.getche()

msvcrt.getche() Similar to getch(), but the keypress will be echoed if it represents a printable character.