From 0e246a2eee1d6e51eb2cab9a3782642d7a29d1f8 Mon Sep 17 00:00:00 2001 From: llllllllll Date: Tue, 24 Nov 2015 16:51:57 -0500 Subject: [PATCH] MAINT: error message cleanup --- zipline/utils/sentinel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipline/utils/sentinel.py b/zipline/utils/sentinel.py index f3524623..8015acaf 100644 --- a/zipline/utils/sentinel.py +++ b/zipline/utils/sentinel.py @@ -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