summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Pollina <kylepollina@protonmail.com>2020-01-14 19:47:26 (GMT)
committerKarthikeyan Singaravelan <tir.karthi@gmail.com>2020-01-14 19:47:25 (GMT)
commitb4cdb3f60e71888d7f3d4e0d40cb31e968ea160c (patch)
treef2709d7176cb061425d174b1e26a7f1cc1a083ef
parentf04750bb7af45cb6efab8d92d1ff063f0bf2833d (diff)
downloadcpython-b4cdb3f60e71888d7f3d4e0d40cb31e968ea160c.zip
cpython-b4cdb3f60e71888d7f3d4e0d40cb31e968ea160c.tar.gz
cpython-b4cdb3f60e71888d7f3d4e0d40cb31e968ea160c.tar.bz2
Fix documentation in code.py (GH-17988)
-rw-r--r--Doc/library/code.rst2
-rw-r--r--Lib/code.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/code.rst b/Doc/library/code.rst
index e2c47ba..6708079 100644
--- a/Doc/library/code.rst
+++ b/Doc/library/code.rst
@@ -76,7 +76,7 @@ Interactive Interpreter Objects
Compile and run some source in the interpreter. Arguments are the same as for
:func:`compile_command`; the default for *filename* is ``'<input>'``, and for
- *symbol* is ``'single'``. One several things can happen:
+ *symbol* is ``'single'``. One of several things can happen:
* The input is incorrect; :func:`compile_command` raised an exception
(:exc:`SyntaxError` or :exc:`OverflowError`). A syntax traceback will be
diff --git a/Lib/code.py b/Lib/code.py
index d8106ae..76000f8 100644
--- a/Lib/code.py
+++ b/Lib/code.py
@@ -40,7 +40,7 @@ class InteractiveInterpreter:
Arguments are as for compile_command().
- One several things can happen:
+ One of several things can happen:
1) The input is incorrect; compile_command() raised an
exception (SyntaxError or OverflowError). A syntax traceback