Mercurial > cpython-lru_cache-weakref
diff Lib/codeop.py @ 30984:830e5ffc6d25 legacy-trunk
Fix typo fix.
| author | Walter Dörwald <walter@livinglogic.de> |
|---|---|
| date | Thu, 20 Nov 2003 13:38:01 +0000 |
| parents | 07d3c8668f8b |
| children | 4c0823f0a0a1 |
line wrap: on
line diff
--- a/Lib/codeop.py Thu Nov 20 13:33:48 2003 +0000 +++ b/Lib/codeop.py Thu Nov 20 13:38:01 2003 +0000 @@ -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).
