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()'.