Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork246
Commit400f5ed
committed
More general adaptation of showsyntaxerror() to Python 3.13
Python 3.13's code.InteractiveInterpreter adds a new **kwargsargument to its showsyntaxerror() method. Currently, the onlyuse of it is to send a named argument of name "source". Whilstthe current adapation of repl.Interpreter is specific and shouldwork in the short term, here is a more general solution.1 parent5b31cca commit400f5ed
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
156 |
| - | |
| 156 | + | |
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
|
0 commit comments
Comments
(0)