summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorg Gogo. BERNHARD <gogo@bluedynamics.com>2020-02-14 14:37:53 +0100
committerGitHub <noreply@github.com>2020-02-14 14:37:53 +0100
commit16cd2f374e39b7fb81f7e4fc6830b711fdd013bb (patch)
treeb10e4c3331bd0dc783da723485441de84656163c /src
parentad2ca66b596bab4b399b5a89429b46801de9f772 (diff)
downloadzope-schema-16cd2f374e39b7fb81f7e4fc6830b711fdd013bb.tar.gz
Update src/zope/schema/_bootstrapfields.py
Co-Authored-By: Jason Madden <jamadden@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/zope/schema/_bootstrapfields.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zope/schema/_bootstrapfields.py b/src/zope/schema/_bootstrapfields.py
index f314bf7..91573eb 100644
--- a/src/zope/schema/_bootstrapfields.py
+++ b/src/zope/schema/_bootstrapfields.py
@@ -508,7 +508,8 @@ class Text(MinMaxLen, Field):
"""A field containing text used for human discourse."""
_type = text_type
- def __init__(self, unicode_normalization='NFC', *args, **kw):
+ def __init__(self, *args, **kw):
+ self.unicode_normalization = kw.pop('unicode_normalization', 'NFC')
self.unicode_normalization = unicode_normalization
super(Text, self).__init__(*args, **kw)