summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/lib
diff options
context:
space:
mode:
authorAlexander Smirnov <[email protected]>2024-06-18 08:31:45 +0000
committerAlexander Smirnov <[email protected]>2024-06-18 08:31:45 +0000
commit8da3a80eb37bb357a4a994464851104565fd9490 (patch)
tree021aa0770c7bb74d27d8731629ce6f5abd1e84e9 /contrib/python/ipython/py3/IPython/lib
parent05cc35d98bf2bd929c00b02fcd98fd65a1b676ad (diff)
parentd68a678bf36d213cb890d8bdfbdf34df6a40f8c1 (diff)
Merge branch 'rightlib' into mergelibs-240618-0830
Diffstat (limited to 'contrib/python/ipython/py3/IPython/lib')
-rw-r--r--contrib/python/ipython/py3/IPython/lib/lexers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/ipython/py3/IPython/lib/lexers.py b/contrib/python/ipython/py3/IPython/lib/lexers.py
index 42d5b7a87c5..9aa3433af7c 100644
--- a/contrib/python/ipython/py3/IPython/lib/lexers.py
+++ b/contrib/python/ipython/py3/IPython/lib/lexers.py
@@ -456,13 +456,13 @@ class IPythonConsoleLexer(Lexer):
# does not use the continuation marker cannot be detected.
# For example, the 3 in the following is clearly output:
#
- # In [1]: print 3
+ # In [1]: print(3)
# 3
#
# But the following second line is part of the input:
#
# In [2]: while True:
- # print True
+ # print(True)
#
# In both cases, the 2nd line will be 'output'.
#