crypt.methods

crypt.methods A list of available password hashing algorithms, as crypt.METHOD_* objects. This list is sorted from strongest to weakest, and is guaranteed to have at least crypt.METHOD_CRYPT.

crypt.crypt()

crypt.crypt(word, salt=None) word will usually be a user’s password as typed at a prompt or in a graphical interface. The optional salt is either a string as returned from mksalt(), one of the crypt.METHOD_* values (though not all may be available on all platforms), or a full encrypted password including salt, as returned by this function. If salt is not provided, the strongest method will be used (as returned by methods(). Checking a password is usually done by passing the plain-text passwo

credits

credits Objects that when printed, print a message like “Type license() to see the full license text”, and when called, display the corresponding text in a pager-like fashion (one screen at a time).

copyright

copyright license credits Objects that when printed, print a message like “Type license() to see the full license text”, and when called, display the corresponding text in a pager-like fashion (one screen at a time).

copyreg.pickle()

copyreg.pickle(type, function, constructor=None) Declares that function should be used as a “reduction” function for objects of type type. function should return either a string or a tuple containing two or three elements. The optional constructor parameter, if provided, is a callable object which can be used to reconstruct the object when called with the tuple of arguments returned by function at pickling time. TypeError will be raised if object is a class or constructor is not callable. Se

copyreg.constructor()

copyreg.constructor(object) Declares object to be a valid constructor. If object is not callable (and hence not valid as a constructor), raises TypeError.

copy.error

exception copy.error Raised for module specific errors.

copy.deepcopy()

copy.deepcopy(x) Return a deep copy of x.

copy.copy()

copy.copy(x) Return a shallow copy of x.

contextmanager.__exit__()

contextmanager.__exit__(exc_type, exc_val, exc_tb) Exit the runtime context and return a Boolean flag indicating if any exception that occurred should be suppressed. If an exception occurred while executing the body of the with statement, the arguments contain the exception type, value and traceback information. Otherwise, all three arguments are None. Returning a true value from this method will cause the with statement to suppress the exception and continue execution with the statement imm