Commit b363615c authored by jkvis's avatar jkvis

Typo

parent d1959b55
......@@ -807,7 +807,7 @@ for function in functions:
\begin{pythonfile}{docstrings.py}
\begin{minted}[linenos]{python}
def factorial(n):
"""Compute factorial of n in the obious way."""
"""Compute factorial of n in the obvious way."""
if n == 0:
return 1
else:
......@@ -821,7 +821,7 @@ help(factorial)
\color{white}{\texttt{\$ python docstrings.py \\
Help on function factorial in module \_\_main\_\_:\\
factorial(n)\\
Compute factorial of n in the obious way.
Compute factorial of n in the obvious way.
}}
\end{terminal}
\end{pframe}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment