diff --git a/scrapy/utils/console.py b/scrapy/utils/console.py index a9d73aada..2e9981556 100644 --- a/scrapy/utils/console.py +++ b/scrapy/utils/console.py @@ -56,9 +56,9 @@ def _embed_standard_shell(namespace={}, banner=''): return wrapper DEFAULT_PYTHON_SHELLS = OrderedDict([ + ('ptpython', _embed_ptpython_shell), ('ipython', _embed_ipython_shell), ('bpython', _embed_bpython_shell), - ('ptpython', _embed_ptpython_shell), ('python', _embed_standard_shell), ])