pep8 compliance: E302 expected 2 blank lines
This commit is contained in:
parent
b90611c2e7
commit
80df303c9d
@ -6,6 +6,7 @@ from root import RootWidget
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
class Shell(RootWidget):
|
||||
|
||||
def __init__(self, surface, **kwds):
|
||||
|
@ -5,18 +5,21 @@
|
||||
import pygame
|
||||
from pygame import mixer
|
||||
|
||||
|
||||
def pause_sound():
|
||||
try:
|
||||
mixer.pause()
|
||||
except pygame.error:
|
||||
pass
|
||||
|
||||
|
||||
def resume_sound():
|
||||
try:
|
||||
mixer.unpause()
|
||||
except pygame.error:
|
||||
pass
|
||||
|
||||
|
||||
def stop_sound():
|
||||
try:
|
||||
mixer.stop()
|
||||
|
Reference in New Issue
Block a user