Pylint false positives
Gregory Ewing
greg.ewing at canterbury.ac.nz
Mon Aug 20 04:26:20 EDT 2018
Marko Rauhamaa wrote:
> At least some of the methods of inner classes are closures (or there
> would be no point to an inner class).
In Python there is no such thing as an "inner class" in the Java
sense. You can nest class statements, but that just gives you
a class that happens to be an attribute of another class.
Nothing in the nested class has any special access to anything
in the containing class.
--
Greg
More information about the Python-list
mailing list