From 237904bd05d753824634df3bdebc9a0542ddc1d8 2017-01-18 03:45:13 From: Srinivas Reddy Thatiparthy Date: 2017-01-18 03:45:13 Subject: [PATCH] improve 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