When creating a new instance of a custom class in the C API, is it preferable to initialize the member variables to NULL
or None
?
Asked
Active
Viewed 60 times
1

more tension
- 3,312
- 17
- 19
-
2Could you show code? What is a member? Do you mean attribute in a dictonairy? I owuld say that `None` is the case if they can be accessed by Python. – User Mar 22 '14 at 20:24