asyncio.asyncio.subprocess.Process.communicate()

coroutine communicate(input=None) Interact with process: Send data to stdin. Read data from stdout and stderr, until end-of-file is reached. Wait for process to terminate. The optional input argument should be data to be sent to the child process, or None, if no data should be sent to the child. The type of input must be bytes. communicate() returns a tuple (stdout_data, stderr_data). If a BrokenPipeError or ConnectionResetError exception is raised when writing input into stdin, the exceptio

math.fmod()

math.fmod(x, y) Return fmod(x, y), as defined by the platform C library. Note that the Python expression x % y may not return the same result. The intent of the C standard is that fmod(x, y) be exactly (mathematically; to infinite precision) equal to x - n*y for some integer n such that the result has the same sign as x and magnitude less than abs(y). Python’s x % y returns a result with the sign of y instead, and may not be exactly computable for float arguments. For example, fmod(-1e-100,

asyncio.BaseTransport

class asyncio.BaseTransport Base class for transports. close(self) Close the transport. If the transport has a buffer for outgoing data, buffered data will be flushed asynchronously. No more data will be received. After all buffered data is flushed, the protocol’s connection_lost() method will be called with None as its argument. is_closing(self) Return True if the transport is closing or is closed. New in version 3.5.1. get_extra_info(name, default=None) Return optional tra

email.contentmanager.ContentManager.set_content()

set_content(msg, obj, *args, **kw) If the maintype is multipart, raise a TypeError; otherwise look up a handler function based on the type of obj (see next paragraph), call clear_content() on the msg, and call the handler function, passing through all arguments. The expectation is that the handler will transform and store obj into msg, possibly making other changes to msg as well, such as adding various MIME headers to encode information needed to interpret the stored data. To find the handl

inspect.iscoroutine()

inspect.iscoroutine(object) Return true if the object is a coroutine created by an async def function. New in version 3.5.

mmap.mmap.write_byte()

write_byte(byte) Write the integer byte into memory at the current position of the file pointer; the file position is advanced by 1. If the mmap was created with ACCESS_READ, then writing to it will raise a TypeError exception.

urllib.request.HTTPPasswordMgrWithDefaultRealm

class urllib.request.HTTPPasswordMgrWithDefaultRealm Keep a database of (realm, uri) -> (user, password) mappings. A realm of None is considered a catch-all realm, which is searched if no other realm fits.

http.cookies.SimpleCookie

class http.cookies.SimpleCookie([input]) This class derives from BaseCookie and overrides value_decode() and value_encode() to be the identity and str() respectively.

decimal.Context.power()

power(x, y, modulo=None) Return x to the power of y, reduced modulo modulo if given. With two arguments, compute x**y. If x is negative then y must be integral. The result will be inexact unless y is integral and the result is finite and can be expressed exactly in ‘precision’ digits. The rounding mode of the context is used. Results are always correctly-rounded in the Python version. Changed in version 3.3: The C module computes power() in terms of the correctly-rounded exp() and ln() func

asyncio.AbstractEventLoop.sock_sendall()

coroutine AbstractEventLoop.sock_sendall(sock, data) Send data to the socket. Modeled after blocking socket.socket.sendall() method. The socket must be connected to a remote socket. This method continues to send data from data until either all data has been sent or an error occurs. None is returned on success. On error, an exception is raised, and there is no way to determine how much data, if any, was successfully processed by the receiving end of the connection. With SelectorEventLoop even