Test if something is iterable
Test if name corresponds to a private attribute
Private attribute names start with ‘_’, contain ‘__’ and are not special (is_special).
| Parameters: | name (string) – Attribute name to test |
|---|
Test if name corresponds to a protected attribute
Protected attribute names start ‘_’, but don’t contain ‘__’.
| Parameters: | name (string) – Attribute name to test |
|---|
Test if name corresponds to a public attribute
Names that do not start with ‘_’ are public.
| Parameters: | name (string) – Attribute name to test |
|---|
Test if name corresponds to a special attribute
Special attribute names start and end with ‘__’.
| Parameters: | name (string) – Attribute name to test |
|---|