8000 Remove accidentally committed file and apply lints · pyscript/pyscript@625ad1d · GitHub
[go: up one dir, main page]

Skip to content

Commit 625ad1d

Browse files
committed
Remove accidentally committed file and apply lints
1 parent dde3b5d commit 625ad1d

File tree

2 files changed

+3
-77
lines changed

2 files changed

+3
-77
lines changed

pyscriptjs/src/python/pyscript/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,6 @@ def deprecate(name, obj, instead):
714714
ns["PyScript"] = DeprecatedGlobal("PyScript", PyScript, message)
715715

716716

717-
718717
class _PyscriptWebLoop(WebLoop):
719718
def __init__(self):
720719
super().__init__()
@@ -729,8 +728,8 @@ def call_later(
729728
*args: Any,
730729
context: contextvars.Context | None = None,
731730
) -> asyncio.Handle:
732-
"""Based on call_later from Pyodide's webloop
733-
731+
"""Based on call_later from Pyodide's webloop
732+
734733
With some unneeded stuff removed and a mechanism for deferring tasks
735734
scheduled from user code.
736735
"""
@@ -761,12 +760,12 @@ def _schedule_deferred_tasks(self):
761760
self._deferred_handles = []
762761

763762

764-
765763
def _install_pyscript_loop():
766764
global _LOOP
767765
_LOOP = _PyscriptWebLoop()
768766
asyncio.set_event_loop(_LOOP)
769767

768+
770769
def _schedule_deferred_tasks():
771770
_LOOP._schedule_deferred_tasks()
772771

pyscriptjs/src/python/pyscript/_event_loop.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0