From efda725c57b9fdf2cd0286ba4de262bd293de079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 25 Dec 2018 18:30:12 +0100 Subject: [PATCH] Format --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 31d25cc..2bf9165 100644 --- a/README.md +++ b/README.md @@ -197,8 +197,10 @@ is_function = callable() String ------ ```python - = .strip('') - = .split(sep=None, maxsplit=-1) # Splits on any whitespace char by default. + = .strip() # Strips all whitespace characters. + = .strip('') # Strips all passed characters. + = .split() # Splits on any whitespace character. + = .split(sep=None, maxsplit=-1) # Splits on 'sep' at most 'maxsplit' times. = .join() = .replace(old_str, new_str) ```