summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2003-11-20 13:38:01 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2003-11-20 13:38:01 (GMT)
commit4df306879b4d93112b3bd46f74a73d1b5cd04cca (patch)
treeda62d840c2bc59b4d331440487bebbeba827711e /Lib
parent6402357d40b4d8086e459ac0e31205f9d6d30543 (diff)
downloadcpython-4df306879b4d93112b3bd46f74a73d1b5cd04cca.zip
cpython-4df306879b4d93112b3bd46f74a73d1b5cd04cca.tar.gz
cpython-4df306879b4d93112b3bd46f74a73d1b5cd04cca.tar.bz2
Fix typo fix.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/codeop.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/codeop.py b/Lib/codeop.py
index ebdf589..daa7eb8 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).