ericvsmith / dataclasses

Apache License 2.0
587 stars 53 forks source link

generate a class doc-string if one isn't already set #64

Closed taleinat closed 7 years ago

taleinat commented 7 years ago

The doc-string is generated using str(inspect.signature(cls)), similar to the method in pydoc.TextDoc.docclass which is used by help().

See issue #32.