()
| 2 | |
| 3 | def gunshot(): |
| 4 | def sound(): |
| 5 | import winsound |
| 6 | winsound.PlaySound("example\\pa.wav", winsound.SND_FILENAME) |
| 7 | shot[0] = False |
| 8 | import threading |
| 9 | |
| 10 | threading.Thread(target=sound, daemon=True).start() |
nothing calls this directly
no outgoing calls
no test coverage detected