[issue25650] Mismatching documentation <=> behaviour for typing.Any

2016-05-16 Thread Berker Peksag
Berker Peksag added the comment: This is basically a duplicate of issue 25830. We can update the docstring of Any once https://github.com/python/typing/issues/136 is solved. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> _Typ

[issue25650] Mismatching documentation <=> behaviour for typing.Any

2015-11-17 Thread Emanuel Barry
New submission from Emanuel Barry: The docstring for typing.Any specifically says "- Any object is an instance of Any."; in practice however it's not actually the case, as isinstance(x, Any) raises a TypeError. AnyMeta makes this behaviour seem intentional, however the official documentation