Commit b11f7681 authored by Lisandro Dalcin's avatar Lisandro Dalcin

honor Options.docstrings for cdef members

parent 228088d7
......@@ -1067,7 +1067,8 @@ property NAME:
# ---------------------------------------
# XXX This should go to AutoDocTransforms
# ---------------------------------------
if self.current_directives['embedsignature']:
if (Options.docstrings and
self.current_directives['embedsignature']):
attr_name = entry.name
type_name = entry.type.declaration_code("", for_display=1)
default_value = ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment