Skip to content

Commit 7e08789

Browse files
committed
Add overrides for more dunder methods
1 parent e9c71cc commit 7e08789

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tail_recursive/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,6 @@ def factorial(n):
8181
# "set_name",
8282
# "init_subclass",
8383
# "prepare",
84-
# "hash",
85-
# "bool",
86-
# "instancecheck",
87-
# "subclasscheck",
88-
# "class_getitem",
89-
# "call",
9084
#
9185
# getattr and delattr have custom overrides (see below).
9286
"repr",
@@ -99,7 +93,13 @@ def factorial(n):
9993
"ne",
10094
"gt",
10195
"ge",
96+
"hash",
97+
"bool",
10298
"dir",
99+
"instancecheck",
100+
"subclasscheck",
101+
"class_getitem",
102+
"call",
103103
"len",
104104
"length_hint",
105105
"getitem",

0 commit comments

Comments
 (0)