Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
dfcb1cec4e
commit
420930ee53
1 changed files with 17 additions and 2 deletions
|
@ -61,8 +61,23 @@ Please note, that there is a difference how type annotations worked for older ve
|
||||||
## MyPy under VS Code
|
## MyPy under VS Code
|
||||||
(also the header packages)
|
(also the header packages)
|
||||||
|
|
||||||
## Built-in types
|
## [Built-in types](https://mypy.readthedocs.io/en/latest/builtin_types.html)
|
||||||
### Simple types
|
|
||||||
|
### [Simple types](https://mypy.readthedocs.io/en/latest/builtin_types.html#simple-types)
|
||||||
|
|
||||||
|
> Here are examples of some common built-in types:
|
||||||
|
|
||||||
|
|Type|Description|
|
||||||
|
|---|---|
|
||||||
|
|int|integer|
|
||||||
|
|float|floating point number|
|
||||||
|
|bool|boolean value (subclass of int)|
|
||||||
|
|str|text, sequence of unicode codepoints|
|
||||||
|
|bytes|8-bit string, sequence of byte values|
|
||||||
|
|object|an arbitrary object (object is the common base class)|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Any type (Special type indicating an unconstrained type.)
|
### Any type (Special type indicating an unconstrained type.)
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
Loading…
Reference in a new issue