From 20e76cb9a7bf5b38f196d046544e10b9fa122fd9 Mon Sep 17 00:00:00 2001 From: Wiktoria Tomzik Date: Thu, 14 Feb 2019 08:14:11 +0100 Subject: [PATCH] Typo: "sring" -> "string" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index efff5f76c..e850278d9 100644 --- a/README.md +++ b/README.md @@ -716,7 +716,7 @@ byte_size('Hello World') # 11 Capitalizes the first letter of a string. -Capitalizes the fist letter of the sring and then adds it with rest of the string. Omit the `lower_rest` parameter to keep the rest of the string intact, or set it to `true` to convert to lowercase. +Capitalizes the fist letter of the string and then adds it with rest of the string. Omit the `lower_rest` parameter to keep the rest of the string intact, or set it to `true` to convert to lowercase. ```py def capitalize(string, lower_rest=False): return string[:1].upper() + (string[1:].lower() if lower_rest else string[1:])