# HG changeset patch # User Paul Boddie # Date 1336688456 -7200 # Node ID 8bf8faf18dbe169fa81b7bbe4c9849fe7d00f956 # Parent 0d0cb0b43c38de6e944551c30c64c43e2dc3c3e9 Added a _random placeholder module. diff -r 0d0cb0b43c38 -r 8bf8faf18dbe lib/_random.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/_random.py Fri May 11 00:20:56 2012 +0200 @@ -0,0 +1,30 @@ +#!/usr/bin/env python + +""" +Random numbers. + +Copyright (C) 2012 Paul Boddie + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 3 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program. If not, see . +""" + +class Random: + def getrandbits(self, k): pass + def getstate(self): pass + def jumpahead(self, x): pass + def random(self): pass + def seed(self, n=None): pass + def setstate(self, state): pass + +# vim: tabstop=4 expandtab shiftwidth=4