chiark
/
gitweb
/
~mdw
/
mLib-python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1db32de
)
fdutils.pyx (fdflags): Fix disastrous variable-name error.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 9 Sep 2017 22:11:09 +0000
(23:11 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 9 Sep 2017 22:12:46 +0000
(23:12 +0100)
fdutils.pyx
patch
|
blob
|
blame
|
history
diff --git
a/fdutils.pyx
b/fdutils.pyx
index 55c8ca1c595d1a4afe80ba0a789221d6913fa9f7..71135e6ae5bb520d0d78ece98def99600a19b134 100644
(file)
--- a/
fdutils.pyx
+++ b/
fdutils.pyx
@@
-38,7
+38,7
@@
def fdflags(file,
FILE may be integer file descriptor or an object with `fileno' method.
"""
cdef int rc
- rc = _fdflags(_getfd(f
d), fbix
, fxor, fdbic, fdxor)
+ rc = _fdflags(_getfd(f
ile), fbic
, fxor, fdbic, fdxor)
if rc < 0:
_oserror()
return rc