2016-11-12 | Paul Boddie | raw annotate files changeset graph | Changed the "from" statement to introduce name references instead of assigning names in the current namespace. This avoids module import sequencing issues but will eventually require restrictions on the kinds of objects being imported. The identification of objects also needs to favour name references in modules over conflicting submodules. |
1 #!/usr/bin/env python 2 3 class struct_time(tuple): 4 pass 5 6 def asctime(t=None): 7 pass 8 9 def clock(): 10 pass 11 12 def ctime(seconds): 13 pass 14 15 def gmtime(seconds=None): 16 pass 17 18 def localtime(seconds=None): 19 pass 20 21 def mktime(t): 22 pass 23 24 def sleep(seconds): 25 pass 26 27 def strftime(format, t=None): 28 pass 29 30 def strptime(s, format): 31 pass 32 33 def time(): 34 pass 35 36 def tzset(): 37 pass 38 39 # vim: tabstop=4 expandtab shiftwidth=4