From 7befde1160a10c56648502712cee8c59869926ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 14 Mar 2018 17:35:04 +0100 Subject: [PATCH] Update --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ed5b201..598cbc7 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Iterator for line in iter(input, ''): pass ``` -Use partial from functools if function needs arguments. +Use _partial_ from functools if function needs arguments. #### Skips first element ```python @@ -248,12 +248,12 @@ functools.reduce(combining_function, list_of_inputs) ### Any, All ```python -any(el[1] for el in ) # +any(el[1] for el in ) ``` ### If - Else ```python -expression_if_true if condition else expression_if_false + if else ``` Closure @@ -314,7 +314,7 @@ class : ```python import enum class (enum.Enum): - = # Or "= enum.auto()"" for automatic indexing. + = # Or "= enum.auto()" for automatic indexing. = ... ```