Python Language Reference, Version 3.13
6.3.4. Calls5 Documented Misconceptions
CannotChainAttributeAccesses
Attribute accesses cannot be chained together
CannotChainAttributeToObjectInstantiation
Method calls, and attribute accesses in general, cannot be chained to a constructor invocation.
ObjectsMustBeNamed
A variable is needed to instantiate an object
ParenthesesOnlyIfArgument
() are optional for function calls without arguments
RecursiveFunctionNeedsIfElse
A recursive function needs to contain an if-else statement