dict.fromkeys()

classmethod fromkeys(seq[, value]) Create a new dictionary with keys from seq and values set to value. fromkeys() is a class method that returns a new dictionary. value defaults to None.

dict.copy()

copy() Return a shallow copy of the dictionary.

dict.clear()

clear() Remove all items from the dictionary.

dict

class dict(**kwarg) class dict(mapping, **kwarg) class dict(iterable, **kwarg) Create a new dictionary. The dict object is the dictionary class. See dict and Mapping Types — dict for documentation about this class. For other containers see the built-in list, set, and tuple classes, as well as the collections module.

dict

class dict(**kwarg) class dict(mapping, **kwarg) class dict(iterable, **kwarg) Return a new dictionary initialized from an optional positional argument and a possibly empty set of keyword arguments. If no positional argument is given, an empty dictionary is created. If a positional argument is given and it is a mapping object, a dictionary is created with the same key-value pairs as the mapping object. Otherwise, the positional argument must be an iterable object. Each item in the iterable mu

Develop with asyncio

Asynchronous programming is different than classical “sequential” programming. This page lists common traps and explains how to avoid them. 1. Debug mode of asyncio The implementation of asyncio has been written for performance. In order to ease the development of asynchronous code, you may wish to enable debug mode. To enable all debug checks for an application: Enable the asyncio debug mode globally by setting the environment variable PYTHONASYNCIODEBUG to 1, or by calling AbstractEventLoop.s

DeprecationWarning

exception DeprecationWarning Base class for warnings about deprecated features.

delattr()

delattr(object, name) This is a relative of setattr(). The arguments are an object and a string. The string must be the name of one of the object’s attributes. The function deletes the named attribute, provided the object allows it. For example, delattr(x, 'foobar') is equivalent to del x.foobar.

definition.__qualname__

definition.__qualname__ The qualified name of the class, function, method, descriptor, or generator instance. New in version 3.3.

definition.__name__

definition.__name__ The name of the class, function, method, descriptor, or generator instance.