Getting doc strings into Py_ErrFormat
22 Nov
2012
22 Nov
'12
8:25 p.m.
Is it possible to get a attribute doc/info string into a PyErr_Format(). I have the following error message and it seems like a good thing to print the help message for the align attribute. How would this be accomplished? Do any of you think this is foolish or a non-nonsensical?
return PyErr_Format(PyExc_TypeError, "align=[%s] is not a valid option.", PyString_AsString(align));
-- Bust0ut, Surgemcgee: Systems Engineer --- surgemcgee.com Django_Teamplate3d
4165
Age (days ago)
4165
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Steckroth