commit | c99ff60573f00d7fe35cafcc0f2594f24bfe65bd | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Wed May 09 20:14:09 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Wed May 09 20:14:09 2001 +0000 |
tree | 951adce48872a8bd357e4a0d58aeeab40b52e0fa | |
parent | 1a97d5f0983e2fb9d1fc7c9690a3e0ddae55fe0f [diff] |
fdconv(): Do not second guess the error condition returned by PyObject_AsFileDescriptor() -- it does the same thing everywhere, so use it the same way everyone else does so that exceptions are consistent. This means we have less code here, and we do not need to resort to hackish ways of getting the Python-visible function name to fdconv().