Descriptor type hinting

Steven D'Aprano steve at pearwood.info
Thu Feb 27 21:05:36 EST 2014


On Thu, 27 Feb 2014 22:21:31 +0000, Joseph L. Casale wrote:

> How does one satisfy a lint/type checker with the return value of a
> class method decorated with a descriptor?

Surely the answer will depend on the linter you are using. Care to tell 
us, or shall we guess?



-- 
Steven



More information about the Python-list mailing list