diff options
author | stepshal <nessento@openmailbox.org> | 2016-08-20 04:37:32 +0700 |
---|---|---|
committer | stepshal <nessento@openmailbox.org> | 2016-08-20 04:37:32 +0700 |
commit | 08511f5fdfe04a8ea6e3ae73e086e8a29a0a5cd1 (patch) | |
tree | bf8c8b397156f7fc81b09b43fbbe7435280a75a2 /setuptools/command/build_ext.py | |
parent | c296634d44de4a9715d09e4773b73b2d233fbbc4 (diff) | |
download | external_python_setuptools-08511f5fdfe04a8ea6e3ae73e086e8a29a0a5cd1.tar.gz external_python_setuptools-08511f5fdfe04a8ea6e3ae73e086e8a29a0a5cd1.tar.bz2 external_python_setuptools-08511f5fdfe04a8ea6e3ae73e086e8a29a0a5cd1.zip |
Fix quantity of blank lines after code object, class of function definition.
Diffstat (limited to 'setuptools/command/build_ext.py')
-rw-r--r-- | setuptools/command/build_ext.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py index 9caabfd5..f994b626 100644 --- a/setuptools/command/build_ext.py +++ b/setuptools/command/build_ext.py @@ -59,6 +59,7 @@ elif os.name != 'nt': if_dl = lambda s: s if have_rtld else '' + def get_abi3_suffix(): """Return the file extension for an abi3-compliant Extension()""" for suffix, _, _ in (s for s in imp.get_suffixes() if s[2] == imp.C_EXTENSION): @@ -67,6 +68,7 @@ def get_abi3_suffix(): elif suffix == '.pyd': # Windows return suffix + class build_ext(_build_ext): def run(self): |