A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-August/017062.html below:

[Python-Dev] PyObject_SetAttr - is it the only way types should set attributes?

[Python-Dev] PyObject_SetAttr - is it the only way types should set attributes? [Python-Dev] PyObject_SetAttr - is it the only way types should set attributes?Andrew Kuchling akuchlin@mems-exchange.org
Wed, 15 Aug 2001 12:49:42 -0400
On Wed, Aug 15, 2001 at 12:06:25PM -0400, Jeremy Hylton wrote:
>C code can manipulate __dict__, too, right?  It's a pretty common
>idiom to get a module dictionary and use PyDict_SetItem().  

But most commonly that's only done in the C extension's init*()
function, right?  

--amk




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4