Skip to content

Commit

Permalink
Add versionchanged sphinx directive for Bool.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Sep 18, 2018
1 parent 9631faa commit 246a98a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/zope/schema/_bootstrapfields.py
Expand Up @@ -568,7 +568,12 @@ def validate(self, value):

@implementer(IFromUnicode, IFromBytes)
class Bool(Field):
"""A field representing a Bool."""
"""
A field representing a Bool.
.. versionchanged:: 4.8.0
Implement :class:`zope.schema.interfaces.IFromBytes`
"""

_type = bool

Expand Down

0 comments on commit 246a98a

Please sign in to comment.