From: Walter Dörwald Date: Thu, 20 Nov 2003 13:38:01 +0000 (+0000) Subject: Fix typo fix. X-Git-Tag: v2.4a1~1229 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4df306879b4d93112b3bd46f74a73d1b5cd04cca;p=thirdparty%2FPython%2Fcpython.git Fix typo fix. --- diff --git a/Lib/codeop.py b/Lib/codeop.py index ebdf58986107..daa7eb8e37ef 100644 --- a/Lib/codeop.py +++ b/Lib/codeop.py @@ -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 take program text, a filename and a 'mode' and: -- Returns 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 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).