Author nikratio
Recipients larry, nikratio, skrah
Date 2014-01-18.04:47:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390020436.5.0.285025233842.issue20177@psf.upfronthosting.co.za>
In-reply-to
Content
I have started working on this (partial patch attached), but I am unsure how to handle cases where the docstring definition utilizes a macro. For example:

PyDoc_STRVAR(strftime_doc,
"strftime(format[, tuple]) -> string\n\
\n\
Convert a time tuple to a string according to a format specification.\n\
See the library reference manual for formatting codes. When the time tuple\n\
is not present, current time as returned by localtime() is used.\n\
\n" STRFTIME_FORMAT_CODES);

I don't think STRFTIME_FORMAT_CODES will be expanded if I put it into the [clinic] comment section. 

Should I include the contents verbatim? Or do not convert these functions to argument clinic?
History
Date User Action Args
2014-01-18 04:47:16nikratiosetrecipients: + nikratio, larry, skrah
2014-01-18 04:47:16nikratiosetmessageid: <1390020436.5.0.285025233842.issue20177@psf.upfronthosting.co.za>
2014-01-18 04:47:16nikratiolinkissue20177 messages
2014-01-18 04:47:16nikratiocreate