Skip to content

Commit b025313

Browse files
committed
Revert code.rst changes
1 parent 4e021da commit b025313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/code.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Interactive Interpreter Objects
112112
with it.
113113

114114

115-
.. method:: InteractiveInterpreter.showsyntaxerror(filename=None, **kwargs)
115+
.. method:: InteractiveInterpreter.showsyntaxerror(filename=None)
116116

117117
Display the syntax error that just occurred. This does not display a stack
118118
trace because there isn't one for syntax errors. If *filename* is given, it is
@@ -166,7 +166,7 @@ interpreter objects as well as the following additions.
166166
Print an exit message when exiting.
167167

168168

169-
.. method:: InteractiveConsole.push(line, filename=None, _symbol="single")
169+
.. method:: InteractiveConsole.push(line)
170170

171171
Push a line of source text to the interpreter. The line should not have a
172172
trailing newline; it may have internal newlines. The line is appended to a

0 commit comments

Comments
 (0)