Primary
Xset.allowNewAttributes ⚬|docu|1st|20251021205427-00-⌔
XspecSettings — PyXspec 2.1.5 documentation#xspec.XspecSettings.allowNewAttributes
property
allowNewAttributesGet/Set the flag which allows the setting of new instance attributes for ALL PyXspec classes[bool].
This is False by default, and is intended to catch the user’s attention if they misspell an attribute name when attempting to set it. Under normal Python behavior, a misspelling would simply create a new attribute and issue no warnings or errors.
You must make sure this flag is set to True if you genuinely wish to add new attributes.
Printed 2026-06-28.
(echo:: @ ᯤ)
Link to original
Secondary
• • •