typo in the documentation or am I stupid?

Fredrik Lundh fredrik at pythonware.com
Thu Nov 3 06:04:33 EST 2005


Tommy.Ryding at gmail.com wrote_

> In the embedding Python manual at Python.org an example is presented
> that uses the function:
> PyDict_GetAttrString. Is it possible that this is a typo?

according to this checkin message ("fix stupid typo"), the answer is yes:

    http://mail.python.org/pipermail/python-checkins/2005-October/047291.html

on the other hand, since the target is a module object, PyObject_GetAttrString
might be a better choice (no time to dig into this right now).

</F> 






More information about the Python-list mailing list