Add link to Python typing docs for type stubs
AFAIK there isn't currently a link to the article on ["Type Stubs"](https://typing.readthedocs.io/en/latest/source/stubs.html) in the official Python static typing documentation. This PR adds a link to this documentation, which is the most comprehensive I have seen around type stubs.
This commit is contained in:
parent
d6abdc0f63
commit
8a75352122
|
@ -10,6 +10,8 @@ Currently the best solution for the problem is to maintain manually the `*.pyi`
|
|||
|
||||
> A stubs file only contains a description of the public interface of the module without any implementations.
|
||||
|
||||
There is also [extensive documentation on type stubs on the offical Python typing documentation](https://typing.readthedocs.io/en/latest/source/stubs.html).
|
||||
|
||||
Probably most Python developers encountered them already when trying to use the IDE "Go to Definition" function on any builtin type. For example the definitions of few standard exceptions look like this:
|
||||
|
||||
```python
|
||||
|
|
Loading…
Reference in New Issue