diff --git a/03-typing/03-typing.tex b/03-typing/03-typing.tex index 2f3dad4640054a74582d28f99d2776848f423fd5..467abaad58981c3f25d3cb23c849a0cd545a43f3 100644 --- a/03-typing/03-typing.tex +++ b/03-typing/03-typing.tex @@ -7,7 +7,7 @@ \title{Programování 2: Typové anotace} \author[Martin Mareš]{Martin Mareš\\\texttt{mj@ucw.cz}} \institute{Katedra Aplikované Matematiky\\MFF UK Praha} -\date{2020} +\date{2021} \setbeamersize{text margin left=5mm} \setbeamersize{text margin right=5mm} \begin{document} @@ -116,7 +116,7 @@ Parametrizovaný typ pro seznamy. {\tt\color{blue} from typing import Optional\\ -def center(s: str, šíře: Optional[int]=80) -> str: +def center(s: str, w: Optional[int]=None) -> str: } \smallskip