summaryrefslogtreecommitdiff
path: root/src/zope/schema/interfaces.py
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2016-09-15 07:34:13 -0500
committerJason Madden <jamadden@gmail.com>2016-09-15 07:34:13 -0500
commit4bf04c9c7d7a7b93fdb2a54606031dad8f4f3d69 (patch)
tree14e19884d5ae0a7b6e93940214a80939384cc3ca /src/zope/schema/interfaces.py
parent5baf992fadb17657fa21caf6b3f60de6fcc32609 (diff)
downloadzope-schema-remove-u.tar.gz
Remove the u/b BWC functions.remove-u
Diffstat (limited to 'src/zope/schema/interfaces.py')
-rw-r--r--src/zope/schema/interfaces.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zope/schema/interfaces.py b/src/zope/schema/interfaces.py
index 2831229..f2b033f 100644
--- a/src/zope/schema/interfaces.py
+++ b/src/zope/schema/interfaces.py
@@ -42,7 +42,7 @@ from zope.schema._bootstrapinterfaces import InvalidValue
from zope.schema._bootstrapinterfaces import IContextAwareDefaultFactory
from zope.schema._compat import PY3
-from zope.schema._compat import u
+
from zope.schema._messageid import _
@@ -125,14 +125,14 @@ class IField(Interface):
title = TextLine(
title=_("Title"),
description=_("A short summary or label"),
- default=u(""),
+ default=u"",
required=False,
)
description = Text(
title=_("Description"),
description=_("A description of the field"),
- default=u(""),
+ default=u"",
required=False,
)