From e1ee18dea806011c446d4fe4d65ce78dbb5d08b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Walter=20D=C3=B6rwald?= Date: Wed, 19 Nov 2003 13:37:01 +0000 Subject: [PATCH] Backport checkin: Fix typos. --- Lib/codeop.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/codeop.py b/Lib/codeop.py index e7c0f1f82a37..b2adda479cdd 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 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 syntax error (OverflowError and ValueError can be produced by malformed literals). -- 2.47.3