If a class has the slots attribute defined, it means the instances of that class will not have a _______ dictionary.

  • attributes
  • dict
  • namespace
  • slots
If a class has the slots attribute defined, it means the instances of that class will not have a 'dict' dictionary. The 'slots' attribute restricts the instance to only store attributes explicitly listed in 'slots'.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *