Skip to content

Commit 55aa954

Browse files
committed
Update README.md
1 parent 10b89d7 commit 55aa954

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Dead ends in Python!
66

77
Since all (builtin) sets in Python are finite, all complements of the builtin sets would be infinite.
88

9-
Practically, one cannot iterate over an infinite set... so no __iter__ method.
9+
Practically, one cannot iterate over an infinite set... so no `__iter__` method.
1010
Unless maybe we have the complement of the complement of a finite set, but then we'd just have the set.
1111

12-
Also, since len() must return an integer, and a len(SetComplement([])) would be infinity,
13-
and you cannot represent infinity as an integer type (well, maybe you can by subclassing ints...)
14-
but it's not very practical. Anyways, no __len__ method.
12+
Also, since `len()` must return an integer, and a `len(SetComplement([]))` would be infinity,
13+
and you cannot represent infinity as an integer type (well, maybe you can by subclassing `int`...)
14+
but it's not very practical. Anyways, no `__len__` method.
1515

1616
This object is interesting theoretically, but has little practical use.
1717

0 commit comments

Comments
 (0)