64 time.sleep(0.1)
65
66
67def _start_music(track_path, loop=True):68 """Start Music."""
69 if _in_notebook():
70 from .jupyter.player import _start_music
An unused argument can lead to confusions. It should be removed. If this variable is necessary, name the variable _
or start the name with unused
or _unused
.
def square(x, y=1):
return x * x
class MySubClass(MyClass):
def __init__(self, number):
self.value = 42 # argument `number` remains unused
def square(x):
return x * x
class MySubClass(MyClass):
def __init__(self, _):
self.value = 42