Skip to content
Permalink
Browse files

Fix documentation in code.py (GH-17988)

(cherry picked from commit b4cdb3f)

Co-authored-by: Kyle Pollina <kylepollina@protonmail.com>
  • Loading branch information
miss-islington and kylepollina committed Jan 14, 2020
1 parent dfe159c commit 5c08bfe8671a9c8830a4301a7ed2f2468174a131
Showing with 2 additions and 2 deletions.
  1. +1 βˆ’1 Doc/library/code.rst
  2. +1 βˆ’1 Lib/code.py
@@ -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
@@ -40,7 +40,7 @@ def runsource(self, source, filename="<input>", symbol="single"):
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

0 comments on commit 5c08bfe

Please sign in to comment.
You can’t perform that action at this time.