You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, aliasing to a method of an instance of a class in the same file is relatively straightforward; I can probably get that done sometime this week. It gets trickier when the class is in another file, as we don't currently have a way of representing that.
Thanks for fixing this! Are you planning on adding support for bound methods when the class is in another file? (This came up again in a change to multiprocessing stubs python/typeshed#5231)
For instance,
This is something mypy supports and has come up a couple times in typeshed, since it reduces redundancy / allows changes to be made in only one place. e.g. python/typeshed#4817, https://github.com/python/typeshed/blob/ac234f25927634e06d9c96df98d72d54dd80dfc4/stdlib/2and3/turtle.pyi#L284-L291 and python/typeshed#4282 (comment)
The text was updated successfully, but these errors were encountered: