I know Python supports object-oriented structure, which uses dot notation. However, I feel confused about the code below where dot notation appears in a function definition