--- a/src/pyams_utils/property.py Thu Apr 12 10:14:52 2018 +0200
+++ b/src/pyams_utils/property.py Thu Apr 12 11:21:59 2018 +0200
@@ -18,25 +18,6 @@
# import interfaces
# import packages
-from zope.schema.fieldproperty import FieldProperty
-
-
-class DocFieldProperty(FieldProperty):
- """Field property with doc
-
- This field property class extracts it's docstring from parent field description, if any.
- It's main purpose is for documentation needs.
- """
-
- @property
- def __doc__(self):
- field = self._FieldProperty__field
- if field.title and field.description:
- return '{0}: {1}'.format(field.title, field.description)
- elif field.title:
- return field.title
- else:
- return super(FieldProperty, self).__doc__
class cached(object):