I come from a C# background, so I'm using to seeing, fairly shortly after the class declaration, private member variables and properties. (My company follows StyleCop rules, which can be found here: Order of items in classes: Fields, Properties, Constructors, Methods).
I find this helpful, because you can see at a glance what the class comprises. It's almost like an implicit API documentation.
But in python, it seems to me that you can define self.something
literally in any method, so to see what state your class can contain, you have to scroll through the entire class.
Is this how it's supposed to be done? Or is there a better way to structure my code?