diff --git a/README.md b/README.md index 68c0e70..46e8d38 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 character. + = ord() # Converts Unicode character to int. ``` * **Also: `'lstrip()'`, `'rstrip()'` and `'rsplit()'`.** * **Also: `'lower()'`, `'upper()'`, `'capitalize()'` and `'title()'`.** diff --git a/index.html b/index.html index fc1151d..b59357b 100644 --- a/index.html +++ b/index.html @@ -461,8 +461,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 character.
+<int>  = ord(<str>)                          # Converts Unicode character to int.
 
  • Also: 'lstrip()', 'rstrip()' and 'rsplit()'.