Skip to content

Commit c1a746d

Browse files
akbakb
authored andcommitted
Remove commented code
1 parent 1087730 commit c1a746d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mario/traversals.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def _threaded_sync_apply(
111111
This function is run in a thread.
112112
113113
"""
114-
# iterator = _pull_values_from_async_iterator(in_trio, ait, send_to_trio)
114+
115115
try:
116116
for x in iterator:
117117
in_trio.run(send_to_trio.send, x)
@@ -126,8 +126,6 @@ async def sync_apply(
126126
thread.
127127
"""
128128
in_trio = trio.BlockingTrioPortal()
129-
# send_to_trio: trio.abc.SendChannel
130-
# receive_from_thread: trio.abc.ReceiveChannel
131129
send_to_trio, receive_from_thread = trio.open_memory_channel[t.Tuple[T, t.Any]](0)
132130

133131
async with trio.open_nursery() as n:

0 commit comments

Comments
 (0)