diff options
| author | AlexSm <[email protected]> | 2024-06-18 16:09:09 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-18 16:09:09 +0200 |
| commit | ae6be33d4462d1c1f93d7f99a9775167108fb09a (patch) | |
| tree | a9a2819f51548e8e55c59c48b74880f4e3f0e978 /contrib/python/ipython/py3/IPython/sphinxext | |
| parent | 23e9c2f910ca634005304f9f8085adaf5b963463 (diff) | |
| parent | 5f058ae362f1af85ec0d816cc96eaca1c1750dab (diff) | |
Merge pull request #5661 from ydb-platform/mergelibs-240618-0830
Library import 240618-0830
Diffstat (limited to 'contrib/python/ipython/py3/IPython/sphinxext')
| -rw-r--r-- | contrib/python/ipython/py3/IPython/sphinxext/ipython_directive.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/ipython/py3/IPython/sphinxext/ipython_directive.py b/contrib/python/ipython/py3/IPython/sphinxext/ipython_directive.py index 10257a6d69c..88357a51137 100644 --- a/contrib/python/ipython/py3/IPython/sphinxext/ipython_directive.py +++ b/contrib/python/ipython/py3/IPython/sphinxext/ipython_directive.py @@ -300,7 +300,7 @@ def block_parser(part, rgxin, rgxout, fmtin, fmtout): nextline = lines[i] matchout = rgxout.match(nextline) - #print "nextline=%s, continuation=%s, starts=%s"%(nextline, continuation, nextline.startswith(continuation)) + # print("nextline=%s, continuation=%s, starts=%s"%(nextline, continuation, nextline.startswith(continuation))) if matchout or nextline.startswith('#'): break elif nextline.startswith(continuation): @@ -538,7 +538,7 @@ class EmbeddedSphinxShell(object): # When there is stdout from the input, it also has a '\n' at the # tail end, and so this ensures proper spacing as well. E.g.: # - # In [1]: print x + # In [1]: print(x) # 5 # # In [2]: x = 5 @@ -699,7 +699,7 @@ class EmbeddedSphinxShell(object): """ self.ensure_pyplot() command = 'plt.gcf().savefig("%s")'%image_file - #print 'SAVEFIG', command # dbg + # print('SAVEFIG', command) # dbg self.process_input_line('bookmark ipy_thisdir', store_history=False) self.process_input_line('cd -b ipy_savedir', store_history=False) self.process_input_line(command, store_history=False) |
