diff options
author | Guido van Rossum <guido@python.org> | 2003-02-07 17:30:18 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-07 17:30:18 (GMT) |
commit | c06e3acc735a6e9cf28d0f511493bcfd8829117d (patch) | |
tree | ef2384f941d942527cef0f87e2307d28c42b4382 /Lib/random.py | |
parent | 2731c5cf460778f02c5e713f6fff25cbbebedd37 (diff) | |
download | cpython-c06e3acc735a6e9cf28d0f511493bcfd8829117d.zip cpython-c06e3acc735a6e9cf28d0f511493bcfd8829117d.tar.gz cpython-c06e3acc735a6e9cf28d0f511493bcfd8829117d.tar.bz2 |
Add support for copy_reg.dispatch_table.
Rewrote copy() and deepcopy() without avoidable try/except statements;
getattr(x, name, None) or dict.get() are much faster than try/except.
Diffstat (limited to 'Lib/random.py')
0 files changed, 0 insertions, 0 deletions