mirror of
https://github.com/python/cpython.git
synced 2025-11-09 01:51:26 +00:00
Add forgotten import (PyChecker)
This commit is contained in:
parent
e7abf97903
commit
86c7e22036
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ def dup2(self, fd):
|
||||||
return posix.fdopen(fd, self._file_.mode)
|
return posix.fdopen(fd, self._file_.mode)
|
||||||
|
|
||||||
def flags(self, *which):
|
def flags(self, *which):
|
||||||
import fcntl
|
import fcntl, os
|
||||||
|
|
||||||
if which:
|
if which:
|
||||||
if len(which) > 1:
|
if len(which) > 1:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue