From c099bdad552a369a06242288a8e87aeace4bd053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Mon, 3 Feb 2020 19:14:21 +0100 Subject: [PATCH] String --- README.md | 4 ++-- index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0746e5a..8136eb8 100644 --- a/README.md +++ b/README.md @@ -326,8 +326,8 @@ String ``` ```python - = chr() # Converts int to unicode char. - = ord() # Converts unicode char to int. + = chr() # Converts int to Unicode char. + = ord() # Converts Unicode char to int. ``` * **Also: `'lstrip()'`, `'rstrip()'`.** * **Also: `'lower()'`, `'upper()'`, `'capitalize()'` and `'title()'`.** diff --git a/index.html b/index.html index 2047a42..823c566 100644 --- a/index.html +++ b/index.html @@ -435,8 +435,8 @@ to_exclusive = <range>.stop
<str>  = <str>.replace(old, new [, count])   # Replaces 'old' with 'new' at most 'count' times.
 <str>  = <str>.translate(<table>)            # Use `str.maketrans(<dict>)` to generate table.
 
-
<str>  = chr(<int>)                          # Converts int to unicode char.
-<int>  = ord(<str>)                          # Converts unicode char to int.
+
<str>  = chr(<int>)                          # Converts int to Unicode char.
+<int>  = ord(<str>)                          # Converts Unicode char to int.
 
  • Also: 'lstrip()', 'rstrip()'.