@@ -30,14 +30,15 @@ def getargs(self):
3030 return self .getargsFormat (), self .getargsArgs ()
3131
3232 def getargsFormat (self ):
33- """Return the format for this type for use with [new]getargs ().
33+ """Return the format for this type for use with PyArg_Parse ().
3434
3535 Example: int.getargsFormat() returns the string "i".
36+ (getargs is a very old name for PyArg_Parse, hence the name of this method).
3637 """
3738 return self .fmt
3839
3940 def getargsArgs (self , name ):
40- """Return an argument for use with [new]getargs ().
41+ """Return an argument for use with PyArg_Parse ().
4142
4243 Example: int.getargsArgs("spam") returns the string "&spam".
4344 """
@@ -79,15 +80,17 @@ def mkvalue(self):
7980 return self .mkvalueFormat (), self .mkvalueArgs ()
8081
8182 def mkvalueFormat (self ):
82- """Return the format for this type for use with mkvalue ().
83+ """Return the format for this type for use with Py_BuildValue ().
8384
8485 This is normally the same as getargsFormat() but it is
8586 a separate function to allow future divergence.
87+ (mkvalue is a very old name for Py_BuildValue, hence the name of this
88+ method).
8689 """
8790 return self .getargsFormat ()
8891
8992 def mkvalueArgs (self , name ):
90- """Return an argument for use with mkvalue ().
93+ """Return an argument for use with Py_BuildValue ().
9194
9295 Example: int.mkvalueArgs("spam") returns the string "spam".
9396 """
0 commit comments