Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyscript/pyscript
/ stop
Method
stop
core/tests/manual/issue-2302/libthree.py:27–30 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
25
self.sound.play()
26
27
def
stop(self):
28
self.sound.stop()
29
self.on_stop()
30
self._start_time = -1.0
31
32
def
toggle(self):
33
if
self.sound.isPlaying:
Callers
3
toggle
Method · 0.95
running_time
Method · 0.95
play
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected