summaryrefslogtreecommitdiff
path: root/Lib/keyword.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-04 15:10:34 +0000
committerGuido van Rossum <guido@python.org>2000-02-04 15:10:34 +0000
commit0f5e51cb185fedaf5aa34862a7d545fdcd7a70e6 (patch)
treee926d12c26b3eda3a2df8e9501ef70e4c5b34fae /Lib/keyword.py
parent0db3b5ee088bb53e699c18cab2dae0aaedc528e3 (diff)
downloadcpython-0f5e51cb185fedaf5aa34862a7d545fdcd7a70e6.tar.gz
More trivial comment -> docstring transformations by Ka-Ping Yee,
who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay.
Diffstat (limited to 'Lib/keyword.py')
-rwxr-xr-xLib/keyword.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/Lib/keyword.py b/Lib/keyword.py
index 3cf8a2e7af..0c3dec2aca 100755
--- a/Lib/keyword.py
+++ b/Lib/keyword.py
@@ -1,13 +1,14 @@
#! /usr/bin/env python
-#
-# Keywords (from "graminit.c")
-#
-# This file is automatically generated; please don't muck it up!
-#
-# To update the symbols in this file, 'cd' to the top directory of
-# the python source tree after building the interpreter and run:
-#
-# python Lib/keyword.py
+
+"""Keywords (from "graminit.c")
+
+This file is automatically generated; please don't muck it up!
+
+To update the symbols in this file, 'cd' to the top directory of
+the python source tree after building the interpreter and run:
+
+ python Lib/keyword.py
+"""
kwlist = [
#--start keywords--