Skip to content

Commit

Permalink
Fixed slides
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik committed Oct 19, 2023
1 parent 31038c4 commit ca104b5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/modern_python.md
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,8 @@ print(d)

### Specifikace typu slovníku

* `any`
* použití typu `any`

```python
from typing import Dict, Any

Expand All @@ -1870,6 +1871,10 @@ print(d)

[Zdrojový kód příkladu](https://github.com/tisnik/most-popular-python-libs/blob/master/modern_python/sources//mypy-dict-type-3.py)

---

### Specifikace typu slovníku

* explicitní specifikace

```python
Expand Down Expand Up @@ -1908,6 +1913,10 @@ print(d)

[Zdrojový kód příkladu](https://github.com/tisnik/most-popular-python-libs/blob/master/modern_python/sources//mypy-dict-type-5.py)

---

### Typ `union`

* Pro klíče

```python
Expand Down Expand Up @@ -1945,6 +1954,10 @@ print(d)

[Zdrojový kód příkladu](https://github.com/tisnik/most-popular-python-libs/blob/master/modern_python/sources//mypy-dict-type-7.py)

---

### Typ `optional`

* S `optional`

```python
Expand Down

0 comments on commit ca104b5

Please sign in to comment.