Skip to content

Commit 4b36ce4

Browse files
committed
Fix comments
1 parent 5accdc9 commit 4b36ce4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

lib/matplotlib/compat/subprocess.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
__all__ = ['Popen', 'PIPE', 'STDOUT', 'check_output', 'CalledProcessError']
3030

3131

32-
3332
if hasattr(subprocess, 'Popen'):
3433
Popen = subprocess.Popen
3534
# Assume that it also has the other constants.

setupext.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,8 +1386,8 @@ def check(self):
13861386
import functools32
13871387
except ImportError:
13881388
return (
1389-
"functools32 was not found. It is required for for"
1390-
"python versions prior to 3.2")
1389+
"functools32 was not found. It is required for"
1390+
"Python versions prior to 3.2")
13911391

13921392
return "using functools32"
13931393
else:
@@ -1409,8 +1409,8 @@ def check(self):
14091409
import subprocess32
14101410
except ImportError:
14111411
return (
1412-
"subprocess was not found. It is an optional dependency"
1413-
" for for python versions prior to 3.2 that improves"
1412+
"subprocess32 was not found. It used "
1413+
" for Python versions prior to 3.2 to improves"
14141414
" functionality on Linux and OSX")
14151415

14161416
return "using subprocess32"

0 commit comments

Comments
 (0)