bugfix
This commit is contained in:
parent
27ea6eb99e
commit
4207f2c4bb
@ -1,8 +1,12 @@
|
||||
import os
|
||||
|
||||
def current_fileno():
|
||||
with open(__file__, 'r') as f:
|
||||
return f.fileno()
|
||||
fn = './t.txt'
|
||||
f = open(fn, 'w')
|
||||
ret = f.fileno()
|
||||
f.close()
|
||||
os.remove(fn)
|
||||
return ret
|
||||
|
||||
if __name__ == '__main__':
|
||||
for i in range(1000):
|
||||
|
Loading…
Reference in New Issue
Block a user