summaryrefslogtreecommitdiffstats
path: root/Lib/copy_reg.py
Commit message (Collapse)AuthorAgeFilesLines
* added __all__ lists to a number of Python modulesSkip Montanaro2001-01-201-0/+2
| | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
* In the module docstring, clarify that this is used to register pickleFred Drake2000-10-111-3/+15
| | | | | | | | | | | support for extension types, not classes. pickle(): If the type is a class or if the reduction function is not callable, raise a TypeError. constructor(): If the constructor is not callable, raise TypeError. This (partially) closes SourceForge patch #101859.
* Mass patch by Ka-Ping Yee:Guido van Rossum2000-02-021-1/+1
| | | | | | | | | | | 1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old).
* Added some minimal comments and tweaked lay-out a bit.Guido van Rossum1997-05-201-3/+7
|
* support module for cPickleGuido van Rossum1997-04-091-0/+17