class variables have a niche to fill: visibility to a class and its instances, and to no one else. Typically, this means being visible in class-method definitions and instancemethod definitions, and sometimes at the top level of the class definition.
I understood that. But didn't find any example of the part - sometimes at the top level of the class definition.
Could anyone help me here with example what it means by?