468,301 Members | 1,484 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,301 developers. It's quick & easy.

typo in the documentation or am I stupid?

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
1 1178
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.

Similar topics

reply views Thread by Gregor | last post: by
1 post views Thread by Peter Mott | last post: by
8 posts views Thread by nicke | last post: by
5 posts views Thread by Lorenzo Villari | last post: by
1 post views Thread by Vijay Kumar R Zanvar | last post: by
2 posts views Thread by Lampa Dario | last post: by
1 post views Thread by Geraldine | last post: by
11 posts views Thread by barcaroller | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.