Skip to content

Commit 76a2057

Browse files
committed
Replacing &lt; with <
Thanks to Victor C.C.Chen for the bug report.
1 parent 42b654c commit 76a2057

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

more.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Some useful special methods are listed in the following table. If you want to kn
4848
- Called when we use the `print` function or when `str()` is used.
4949

5050
- `__lt__(self, other)`
51-
- Called when the _less than_ operator (&lt;) is used. Similarly, there are special methods for all the operators (+, >, etc.)
51+
- Called when the _less than_ operator (<) is used. Similarly, there are special methods for all the operators (+, >, etc.)
5252

5353
- `__getitem__(self, key)`
5454
- Called when `x[key]` indexing operation is used.

op_exp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Here is a quick overview of the available operators:
7777

7878
- `<` (less than)
7979
- Returns whether x is less than y. All comparison operators return `True` or `False`. Note the capitalization of these names.
80-
- `5 &lt; 3` gives `False` and `3 &lt; 5` gives `True`.
80+
- `5 < 3` gives `False` and `3 < 5` gives `True`.
8181
- Comparisons can be chained arbitrarily: `3 < 5 < 7` gives `True`.
8282

8383
- `>` (greater than)

0 commit comments

Comments
 (0)