PyDocs

Nav

Data Types

SimpleNamespace

types

class · Added in 3.3
  • SimpleNamespace(mapping_or_iterable=(), /, **kwargs)
A simple attribute-based namespace.
Changed in 3.9, 3.13
  • 3.9: Attribute order in the repr changed from alphabetical to insertion (like dict).
  • 3.13: Added support for an optional positional argument.
0 Examples
No examples for types/SimpleNamespace.
See Also
No see-alsos for types/SimpleNamespace
0 Notes
No notes for SimpleNamespace