On Thu, 24 Feb 2000, Skip Montanaro wrote:
... Is it just adding ":public_name" to any and all format strings we can find? I'm going to have a little evening time free off-net while I'm out of town for the next week. I will freshen up my CVS copy and try doing a bunch.
Yup. That's all there is.
For example, consider line 1013 in stringobject.c (string_lower function):
today: if (!PyArg_ParseTuple(args, ""))
change to: if (!PyArg_ParseTuple(args, ":lower"))
The :name part should be the user-visible name of the function or method. It does get tricky with something like the string_rfind_internal function -- the ParseTuple call is used for several functions.