summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-06-03 11:20:44 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-06-03 11:20:44 (GMT)
commit8df921b46b0c6467ddd7e09279db981a076b5f95 (patch)
tree34e588ff6c26231fe879226cd0159c337c8a6ab6
parentfe327b97d2d797158e71d24a6918c8f57f3d65fd (diff)
downloadcpython-8df921b46b0c6467ddd7e09279db981a076b5f95.zip
cpython-8df921b46b0c6467ddd7e09279db981a076b5f95.tar.gz
cpython-8df921b46b0c6467ddd7e09279db981a076b5f95.tar.bz2
assertion message was dropped
-rw-r--r--Lib/distutils/extension.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py
index 98b841f..53ca8fd 100644
--- a/Lib/distutils/extension.py
+++ b/Lib/distutils/extension.py
@@ -103,7 +103,7 @@ class Extension:
optional=None,
**kw # To catch unknown keywords
):
- assert isinstance(name, str)
+ assert isinstance(name, str), "'name' must be a string"
assert (isinstance(sources, list) and
all(isinstance(v, str) for v in sources)), \
"'sources' must be a list of strings"