diff options
author | Guido van Rossum <guido@python.org> | 1998-05-20 17:13:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-05-20 17:13:01 (GMT) |
commit | 6c3a2cbc525e7ca5dd86c547fa2a33d1d012fab5 (patch) | |
tree | 07dc4e0ed7584d72e85f9daa4afdad6e0d650d2e /Tools/faqwiz/faqwiz.py | |
parent | b26a1b4e2b99f4473c2133a2206b782a7fa57932 (diff) | |
download | cpython-6c3a2cbc525e7ca5dd86c547fa2a33d1d012fab5.zip cpython-6c3a2cbc525e7ca5dd86c547fa2a33d1d012fab5.tar.gz cpython-6c3a2cbc525e7ca5dd86c547fa2a33d1d012fab5.tar.bz2 |
whrandom -> random
Diffstat (limited to 'Tools/faqwiz/faqwiz.py')
-rw-r--r-- | Tools/faqwiz/faqwiz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index f604fd2..318b642 100644 --- a/Tools/faqwiz/faqwiz.py +++ b/Tools/faqwiz/faqwiz.py @@ -572,12 +572,12 @@ class FaqWizard: emit(TAIL_RECENT) def do_roulette(self): - import whrandom + import random files = self.dir.list() if not files: self.error("No entries.") return - file = whrandom.choice(files) + file = random.choice(files) self.prologue(T_ROULETTE) emit(ROULETTE) self.dir.show(file) |