From 54f22ed30bab2e64909ba2d79205cb4b87c69db2 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 4 Feb 2000 15:10:34 +0000 Subject: 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. --- Lib/keyword.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'Lib/keyword.py') 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-- -- cgit v1.2.1