summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2018-09-18 18:30:34 -0500
committerJason Madden <jamadden@gmail.com>2018-09-18 18:30:34 -0500
commit246a98a68f30731bf3390ca9db9fae743ebc34d6 (patch)
tree0b40a5b2c9885614463546425659f2621433bfc1
parent9631faaf42465d7bb4a7e89a6ffee4f7dd9c98af (diff)
downloadzope-schema-feature/IFromBytes.tar.gz
Add versionchanged sphinx directive for Bool.feature/IFromBytes
-rw-r--r--src/zope/schema/_bootstrapfields.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/zope/schema/_bootstrapfields.py b/src/zope/schema/_bootstrapfields.py
index 1478692..03d4044 100644
--- a/src/zope/schema/_bootstrapfields.py
+++ b/src/zope/schema/_bootstrapfields.py
@@ -568,7 +568,12 @@ class Password(TextLine):
@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