micropython

Annotated lib/_random.py

605:0bcb66c8b6e2
2012-07-15 Paul Boddie Show only distinct attribute name lists when showing attribute usage for names.
paul@502 1
#!/usr/bin/env python
paul@502 2
paul@502 3
"""
paul@502 4
Random numbers.
paul@502 5
paul@502 6
Copyright (C) 2012 Paul Boddie <paul@boddie.org.uk>
paul@502 7
paul@502 8
This program is free software; you can redistribute it and/or modify it under
paul@502 9
the terms of the GNU General Public License as published by the Free Software
paul@502 10
Foundation; either version 3 of the License, or (at your option) any later
paul@502 11
version.
paul@502 12
paul@502 13
This program is distributed in the hope that it will be useful, but WITHOUT
paul@502 14
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
paul@502 15
FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
paul@502 16
details.
paul@502 17
paul@502 18
You should have received a copy of the GNU General Public License along with
paul@502 19
this program.  If not, see <http://www.gnu.org/licenses/>.
paul@502 20
"""
paul@502 21
paul@502 22
class Random:
paul@502 23
    def getrandbits(self, k): pass
paul@502 24
    def getstate(self): pass
paul@502 25
    def jumpahead(self, x): pass
paul@502 26
    def random(self): pass
paul@502 27
    def seed(self, n=None): pass
paul@502 28
    def setstate(self, state): pass
paul@502 29
paul@502 30
# vim: tabstop=4 expandtab shiftwidth=4