Fix documentation in code.py (GH-17988) · python/cpython@b4cdb3f

GitHub

Original file line numberDiff line numberDiff line change@@ -76,7 +76,7 @@ Interactive Interpreter Objects

76767777 Compile and run some source in the interpreter. Arguments are the same as for

7878:func:`compile_command`; the default for *filename* is ``'<input>'``, and for

79- *symbol* is ``'single'``. One several things can happen:

79+ *symbol* is ``'single'``. One of several things can happen:

80808181 * The input is incorrect; :func:`compile_command` raised an exception

8282 (:exc:`SyntaxError` or :exc:`OverflowError`). A syntax traceback will be

Original file line numberDiff line numberDiff line change@@ -40,7 +40,7 @@ def runsource(self, source, filename="<input>", symbol="single"):

40404141 Arguments are as for compile_command().

424243- One several things can happen:

43+ One of several things can happen:

44444545 1) The input is incorrect; compile_command() raised an

4646 exception (SyntaxError or OverflowError). A syntax traceback