]> granicus.if.org Git - python/commit
fdconv(): Do not second guess the error condition returned by
authorFred Drake <fdrake@acm.org>
Wed, 9 May 2001 20:14:09 +0000 (20:14 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 9 May 2001 20:14:09 +0000 (20:14 +0000)
commitc99ff60573f00d7fe35cafcc0f2594f24bfe65bd
tree951adce48872a8bd357e4a0d58aeeab40b52e0fa
parent1a97d5f0983e2fb9d1fc7c9690a3e0ddae55fe0f
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().
Modules/termios.c