Skip to content

Commit

Permalink
Update src/zope/schema/_bootstrapfields.py
Browse files Browse the repository at this point in the history
Co-Authored-By: Jason Madden <jamadden@gmail.com>
  • Loading branch information
gogobd and jamadden committed Feb 14, 2020
1 parent ad2ca66 commit 16cd2f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/zope/schema/_bootstrapfields.py
Expand Up @@ -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)

Expand Down

0 comments on commit 16cd2f3

Please sign in to comment.