diff options
author | Walter Dörwald <walter@livinglogic.de> | 2003-11-19 13:35:49 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2003-11-19 13:35:49 (GMT) |
commit | fb4d0e0cea85ad25c7ab07aa4828a7c1f7ed9689 (patch) | |
tree | 059376b248a5167a80bb108d51a1a7c88d2531c6 /Lib | |
parent | c86c9de7d48321998c2c3a6de20d555a09562263 (diff) | |
download | cpython-fb4d0e0cea85ad25c7ab07aa4828a7c1f7ed9689.zip cpython-fb4d0e0cea85ad25c7ab07aa4828a7c1f7ed9689.tar.gz cpython-fb4d0e0cea85ad25c7ab07aa4828a7c1f7ed9689.tar.bz2 |
Fix typos.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/codeop.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/codeop.py b/Lib/codeop.py index e7c0f1f..ebdf589 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). |