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