By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,089 Members | 2,432 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,089 IT Pros & Developers. It's quick & easy.

typo in the documentation or am I stupid?

P: n/a
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?

I have searched the source code and I can't find it, I have also used
google and I only get 4 hits.

In for example Programming Python another function with similar name is
described: PyObject_GetAttrString. Could that be the one that fit into
the example?

Hopefully someone knows the answer to my question ;)

//Tommy

Link to the spot at Python.org:
http://docs.python.org/ext/pure-embedding.html

Nov 3 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
To**********@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/pyt...er/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>

Nov 3 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.