Message242118
Sorry Peter, I don't like that variant and want to stick with a separate customization step that uses **kwds so we can use normal syntax for the name value pairs and to allow that possibility of someone passing in an existing dict using NT.set_docstrings(**d).
Also FWIW, the addition can be simplified a bit when Issue 24064 is added:
for fieldname, docstring in docstrings.items():
getattr(cls, fieldname).__doc__ = docstring |
|
Date |
User |
Action |
Args |
2015-04-27 14:58:04 | rhettinger | unlink | issue16669 messages |
2015-04-27 14:56:39 | rhettinger | set | recipients:
+ rhettinger, gvanrossum, terry.reedy, peter.otten, giampaolo.rodola, nedbat, eric.snow, serhiy.storchaka, pconnell, Ankur.Ankan |
2015-04-27 14:56:38 | rhettinger | set | messageid: <1430146598.95.0.787098566591.issue16669@psf.upfronthosting.co.za> |
2015-04-27 14:56:38 | rhettinger | link | issue16669 messages |
2015-04-27 14:56:38 | rhettinger | create | |
|