Skip to content

Commit d4ba6dc

Browse files
committed
revert to # comment, delete whatsnew notice
as it is not a user facing bug fix. closes pandas-dev#14003
1 parent 34acf67 commit d4ba6dc

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

doc/source/whatsnew/v0.20.0.txt

-1
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,3 @@ Performance Improvements
8181

8282
Bug Fixes
8383
~~~~~~~~~
84-
Bug when building docs with IPython 5.x (:issue:`14003`)

doc/sphinxext/ipython_sphinxext/ipython_directive.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -799,11 +799,10 @@ def setup(self):
799799
# Store IPython directive to enable better error messages
800800
self.shell.directive = self
801801

802-
"""
803-
reset the execution count if we haven't processed this doc
804-
NOTE: this may be borked if there are multiple seen_doc tmp files
805-
check time stamp?
806-
"""
802+
803+
# reset the execution count if we haven't processed this doc
804+
#NOTE: this may be borked if there are multiple seen_doc tmp files
805+
#check time stamp?
807806
if self.state.document.current_source not in self.seen_docs:
808807
self.shell.IP.history_manager.reset()
809808
self.shell.IP.execution_count = 1

0 commit comments

Comments
 (0)