commit | 4e2f714031654eb4174393454c008961b636f539 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Dec 06 00:56:53 2007 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Dec 06 00:56:53 2007 +0000 |
tree | e415e4318c986483c73d9e5e01b9434a7be9ce83 | |
parent | 923ad7a9488c9b514c8e27315179ada1d142f3e5 [diff] |
Fix Issue 1045. Factor-out common calling code by simplifying the length_hint API. Speed-up the function by caching the PyObject_String for the attribute lookup.