From: Walter Dörwald Date: Wed, 19 Nov 2003 13:35:49 +0000 (+0000) Subject: Fix typos. X-Git-Tag: v2.4a1~1257 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb4d0e0cea85ad25c7ab07aa4828a7c1f7ed9689;p=thirdparty%2FPython%2Fcpython.git Fix typos. --- diff --git a/Lib/codeop.py b/Lib/codeop.py index e7c0f1f82a37..ebdf58986107 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 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 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).