Skip to content

Commit 16edba0

Browse files
committed
Remove usage of deprecated co_lnotab
1 parent 1a4571d commit 16edba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactpy/core/hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def strictly_equal(x: Any, y: Any) -> bool:
535535
getattr(x.__code__, attr) == getattr(y.__code__, attr)
536536
for attr in dir(x.__code__)
537537
if attr.startswith("co_")
538-
and attr not in {"co_positions", "co_linetable", "co_lines"}
538+
and attr not in {"co_positions", "co_linetable", "co_lines", "co_lnotab"}
539539
)
540540

541541
# Check via the `==` operator if possible

0 commit comments

Comments
 (0)