We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 092914a commit a278b14Copy full SHA for a278b14
doc/source/conf.py
@@ -13,7 +13,7 @@
13
import sys
14
import os
15
import re
16
-from pandas.compat import u
+from pandas.compat import u, PY3
17
18
# If extensions (or modules to document with autodoc) are in another directory,
19
# add these directories to sys.path here. If the directory is relative to the
@@ -78,7 +78,10 @@
78
if ds:
79
print("I'm about to DELETE the following:\n%s\n" % list(sorted(ds)))
80
sys.stdout.write("WARNING: I'd like to delete those to speed up processing (yes/no)? ")
81
- answer = raw_input()
+ if PY3:
82
+ answer = input()
83
+ else:
84
+ answer = raw_input()
85
86
if answer.lower().strip() in ('y','yes'):
87
for f in ds:
0 commit comments