From c63a6e4afde3594a499046b0bf5d329b68ba9e8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Walter=20D=C3=B6rwald?= Date: Thu, 20 Nov 2003 13:38:57 +0000 Subject: [PATCH] Backport checkin: Fix typo fix. --- Lib/codeop.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/codeop.py b/Lib/codeop.py index b2adda479cdd..3d2a9fe7eece 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 takes program text, a filename and a 'mode' and: -- Returns a 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 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 syntax error (OverflowError and ValueError can be produced by malformed literals). -- 2.47.3