Message11056

Author stefan.richthofer
Recipients stefan.richthofer
Date 2017-02-01.21:25:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485984300.46.0.543786876408.issue2546@psf.upfronthosting.co.za>
In-reply-to
Content
Declaring

public static final PyString __doc__fieldName = Py.newString("blah");

seems not to add __doc__ to the field. Nor does

@ExposedGet(name = "fieldName", doc = "blah")

Not even a class-initializer (if field is PyObject-subclass)

{
fieldName.__setattr__("__doc__", Py.newString("blah"));
}

or using classDictInit

does the trick. Is it possible at all?
Even if it is somehow, there should be a more obvious way to do it.
History
Date User Action Args
2017-02-01 21:25:00stefan.richthofersetrecipients: + stefan.richthofer
2017-02-01 21:25:00stefan.richthofersetmessageid: <1485984300.46.0.543786876408.issue2546@psf.upfronthosting.co.za>
2017-02-01 21:25:00stefan.richthoferlinkissue2546 messages
2017-02-01 21:25:00stefan.richthofercreate