diff options
author | Georg Brandl <georg@python.org> | 2010-12-30 22:11:50 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-12-30 22:11:50 (GMT) |
commit | 856898b3958626d2400e59b53dc134283addc988 (patch) | |
tree | 2018f1418921ad20ef0fce86f9e28df09c3e5567 /Tools/demo/beer.py | |
parent | a3fe8e0b9face74e34b938dd657c4048d5f0dadf (diff) | |
download | cpython-856898b3958626d2400e59b53dc134283addc988.zip cpython-856898b3958626d2400e59b53dc134283addc988.tar.gz cpython-856898b3958626d2400e59b53dc134283addc988.tar.bz2 |
Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo.
Diffstat (limited to 'Tools/demo/beer.py')
-rwxr-xr-x | Tools/demo/beer.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Tools/demo/beer.py b/Tools/demo/beer.py index 56eec7b..af58380 100755 --- a/Tools/demo/beer.py +++ b/Tools/demo/beer.py @@ -1,6 +1,11 @@ -#! /usr/bin/env python3 +#!/usr/bin/env python3 -# By GvR, demystified after a version by Fredrik Lundh. +""" +A Python version of the classic "bottles of beer on the wall" programming +example. + +By Guido van Rossum, demystified after a version by Fredrik Lundh. +""" import sys |