diff options
-rw-r--r-- | Lib/types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/types.py b/Lib/types.py index c440a5c..70e624a 100644 --- a/Lib/types.py +++ b/Lib/types.py @@ -42,7 +42,7 @@ BuiltinMethodType = type([].append) # Same as BuiltinFunctionType ModuleType = type(sys) try: - FileType = type(sys.stdin) # XXX what if it was assigned to? + FileType = type(sys.__stdin__) except: pass XRangeType = type(xrange(0)) |