MAINT: error message cleanup

This commit is contained in:
llllllllll
2015-11-24 16:51:57 -05:00
parent 7896520bce
commit 0e246a2eee
+1 -1
View File
@@ -33,7 +33,7 @@ def sentinel(name, doc=None):
__name__ = name
def __new__(cls):
raise TypeError("Can't construct new instances of %r" % name)
raise TypeError('cannot create %r instances' % name)
def __repr__(self):
return 'sentinel(%r)' % name