Skip to content

Commit ae4db86

Browse files
authored
Changed insertion order to sys.path (pandas-dev#25486)
1 parent 1d3b4a5 commit ae4db86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/make.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def main():
325325
# the import of `python_path` correctly. The latter is used to resolve
326326
# the import within the module, injecting it into the global namespace
327327
os.environ['PYTHONPATH'] = args.python_path
328-
sys.path.append(args.python_path)
328+
sys.path.insert(0, args.python_path)
329329
globals()['pandas'] = importlib.import_module('pandas')
330330

331331
# Set the matplotlib backend to the non-interactive Agg backend for all

0 commit comments

Comments
 (0)