From d16bc314b67c78104929894abc0642a54f9960f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 27 Jan 2019 10:10:34 +0100 Subject: [PATCH] Dict --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6caf781..008f9c7 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ value = .setdefault(key, default) # Same, but also adds default to di ``` ```python -value = .pop(key) # Removes item from dictionary. +value = .pop(key) # Removes item from dictionary. {k: v for k, v in .items() if k in keys} # Filters dictionary by keys. ``` @@ -221,8 +221,8 @@ from numbers import Number, Integral, Real, Rational, Complex String ------ ```python - = .strip() # Strips all whitespace characters. - = .strip('') # Strips all passed characters. + = .strip() # Strips all whitespace characters. + = .strip('') # Strips all passed characters. ``` ```python