diff options
| author | Raymond Hettinger <python@rcn.com> | 2004-07-29 23:31:29 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2004-07-29 23:31:29 +0000 |
| commit | c0aaa2db4f7c33c490f91d00c894ffa6395c74fc (patch) | |
| tree | 241e64352256bc1c381534ae188e160066fc04e2 /Lib/stringprep.py | |
| parent | 93677f075df9a23c036f4baeb2b9f67c784eadbc (diff) | |
| download | cpython-git-c0aaa2db4f7c33c490f91d00c894ffa6395c74fc.tar.gz | |
* Simplify and speed-up list_resize(). Relying on the newly documented
invariants allows the ob_item != NULL check to be replaced with an
assertion.
* Added assertions to list_init() which document and verify that the
tp_new slot establishes the invariants. This may preclude a future
bug if a custom tp_new slot is written.
Diffstat (limited to 'Lib/stringprep.py')
0 files changed, 0 insertions, 0 deletions
