]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport checkin:
authorWalter Dörwald <walter@livinglogic.de>
Wed, 19 Nov 2003 13:37:01 +0000 (13:37 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Wed, 19 Nov 2003 13:37:01 +0000 (13:37 +0000)
Fix typos.

Lib/codeop.py

index e7c0f1f82a37c620d7aebd425005ec39f594e5ac..b2adda479cddc722b466c33d7423d00a9a860683 100644 (file)
@@ -1,12 +1,12 @@
 r"""Utilities to compile possibly incomplete Python source code.
 
 This module provides two interfaces, broadly similar to the builtin
-function compile(), that take progam text, a filename and a 'mode'
+function compile(), that takes program text, a filename and a 'mode'
 and:
 
-- Return a code object if the command is complete and valid
-- Return None if the command is incomplete
-- Raise SyntaxError, ValueError or OverflowError if the command is a
+- Returns a code object if the command is complete and valid
+- Returns None if the command is incomplete
+- Raises SyntaxError, ValueError or OverflowError if the command is a
   syntax error (OverflowError and ValueError can be produced by
   malformed literals).