]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport checkin:
authorWalter Dörwald <walter@livinglogic.de>
Thu, 20 Nov 2003 13:38:57 +0000 (13:38 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Thu, 20 Nov 2003 13:38:57 +0000 (13:38 +0000)
Fix typo fix.

Lib/codeop.py

index b2adda479cddc722b466c33d7423d00a9a860683..3d2a9fe7eece23536fa7d4df8b47cff6d116c32a 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 takes program text, a filename and a 'mode'
+function compile(), which takes program text, a filename and a 'mode'
 and:
 
-- 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
+- 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
   syntax error (OverflowError and ValueError can be produced by
   malformed literals).