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/2002-May/024068.html below:

[Python-Dev] A couple of quick type system questions

[Python-Dev] A couple of quick type system questions [Python-Dev] A couple of quick type system questionsThomas Heller thomas.heller@ion-tof.com
Sat, 11 May 2002 14:24:09 +0200
> > 1. I realize that some objects have no dict. Must every /type/ have
> > a dict, or is it possible to have a type with only slots?
> 
> ob_type has the type PyType_Object *, and a PyType_Object has a
> tp_dict pointer, so I think the answer is that every /type/ has a dict.
> 
Huh?

tp_dict of int (_PyInt_Type) is NULL.

Thomas





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