I am new to Python coming from PHP, I know Python has Docstrings, but how can I do this on class variables? Let's say in PHP I have:
class Animal {
/**
* @var Noise
*/
public $noise
}
Now how would I implement this is python? Something like:
class Animal:
# Here I want to tell my IDE that this is a noise object, not yet set
self.noise = None