diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-10-04 05:27:00 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-10-04 05:27:00 (GMT) |
commit | 2f93e28a19e3f250e8c19f9f4334cfa76f5e3645 (patch) | |
tree | 22e884413dc23251e95f9737bd9e14daaf43bd0f /Lib/email/Parser.py | |
parent | f137f75ab82019b7b4db6d45bd69e2c0b155b2eb (diff) | |
download | cpython-2f93e28a19e3f250e8c19f9f4334cfa76f5e3645.zip cpython-2f93e28a19e3f250e8c19f9f4334cfa76f5e3645.tar.gz cpython-2f93e28a19e3f250e8c19f9f4334cfa76f5e3645.tar.bz2 |
SF bug [#467331] ClassType.__doc__ always None.
For a dynamically constructed type object, fill in the tp_doc slot with
a copy of the argument dict's "__doc__" value, provided the latter exists
and is a string.
NOTE: I don't know what to do if it's a Unicode string, so in that case
tp_doc is left NULL (which shows up as Py_None if you do Class.__doc__).
Note that tp_doc holds a char*, not a general PyObject*.
Diffstat (limited to 'Lib/email/Parser.py')
0 files changed, 0 insertions, 0 deletions