From 06129d0d8763ea5735279e69c80d616c5ea762dc 2017-01-18 10:42:39 From: Thomas Kluyver Date: 2017-01-18 10:42:39 Subject: [PATCH] Merge pull request #10169 from srinivasreddy/rm_pathlib improve the comment. --- diff --git a/IPython/utils/tests/test_text.py b/IPython/utils/tests/test_text.py index 0a2f567..ad53303 100644 --- a/IPython/utils/tests/test_text.py +++ b/IPython/utils/tests/test_text.py @@ -21,7 +21,7 @@ import nose.tools as nt try: from pathlib import Path except ImportError: - # Python 2 backport + # for Python 3.3 from pathlib2 import Path from IPython.utils import text diff --git a/IPython/utils/text.py b/IPython/utils/text.py index bb1f3c9..dbc642c 100644 --- a/IPython/utils/text.py +++ b/IPython/utils/text.py @@ -16,7 +16,7 @@ from string import Formatter try: from pathlib import Path except ImportError: - # Python 2 backport + # for Python 3.3 from pathlib2 import Path from IPython.utils import py3compat