diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-09-04 22:08:56 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-09-04 22:08:56 (GMT) |
commit | 7eea37e8317bda88d9f50b862f13642e837957ce (patch) | |
tree | 33b41620f6b0e2266d19d43aa8fad9743f3bb3d4 /Misc | |
parent | 2f760c35e2372dc50102305f407e5eed7e7b5c0a (diff) | |
download | cpython-7eea37e8317bda88d9f50b862f13642e837957ce.zip cpython-7eea37e8317bda88d9f50b862f13642e837957ce.tar.gz cpython-7eea37e8317bda88d9f50b862f13642e837957ce.tar.bz2 |
At Guido's suggestion, here's a new C API function, PyObject_Dir(), like
__builtin__.dir(). Moved the guts from bltinmodule.c to object.c.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -96,7 +96,9 @@ Tools Build -API +C API + +- New function PyObject_Dir(obj), like Python __builtin__.dir(obj). - Note that PyLong_AsDouble can fail! This has always been true, but no callers checked for it. It's more likely to fail now, because overflow |