Lichen

lib/random.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 from _random import Random     4      5 def random():     6     pass     7      8 def randrange(start, stop=None, step=1):     9     pass    10     11 # vim: tabstop=4 expandtab shiftwidth=4