Skip to content

Commit a9a6507

Browse files
committed
Fix comments
1 parent 6574e2e commit a9a6507

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/matplotlib/compat/subprocess.py

-1
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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ def check(self):
13861386
import functools32
13871387
except ImportError:
13881388
return (
1389-
"functools32 was not found. It is required for for"
1389+
"functools32 was not found. It is required for"
13901390
"python versions prior to 3.2")
13911391

13921392
return "using functools32"
@@ -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 for "
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)