diff options
author | Raymond Hettinger <python@rcn.com> | 2005-08-01 21:39:29 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-08-01 21:39:29 +0000 |
commit | b6eb11fbf06a69f3efe9aa38645dbc18d40fce83 (patch) | |
tree | b8d595b324dd4ba3e94175e2d956fc28826bdba1 /Python/exceptions.c | |
parent | 471094fbe3977219dbf452ed1b65f895deae5ae6 (diff) | |
download | cpython-b6eb11fbf06a69f3efe9aa38645dbc18d40fce83.tar.gz |
* Improve code for the empty frozenset singleton:
- Handle both frozenset() and frozenset([]).
- Do not use singleton for frozenset subclasses.
- Finalize the singleton.
- Add test cases.
* Factor-out set_update_internal() from set_update(). Simplifies the
code for several internal callers.
* Factor constant expressions out of loop in set_merge_internal().
* Minor comment touch-ups.
Diffstat (limited to 'Python/exceptions.c')
0 files changed, 0 insertions, 0 deletions