Lichen

lib/time.py

292:436d7832ca66
2016-12-01 Paul Boddie Introduced the itemaccess class as the base of sequence types and strings. Added support for obtaining substrings from strings. Added tests of string operations. Removed the superfluous _tuple function from the sequence module.
     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