diff options
-rw-r--r-- | Lib/distutils/ccompiler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index 5a0641e..43dfa73 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -876,7 +876,8 @@ class CCompiler: # extension for executable files, eg. '' or '.exe' def object_filenames(self, source_filenames, strip_dir=0, output_dir=''): - assert output_dir is not None + if output_dir is None: + output_dir = '' obj_names = [] for src_name in source_filenames: base, ext = os.path.splitext(src_name) |