Skip to content

Commit ab92902

Browse files
committed
Very minor PEP8 fixes
1 parent d106e73 commit ab92902

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

addons/source-python/packages/source-python/engines/sound.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
class Attenuations(object):
5959
'''Attenuation values wrapper enumerator.
6060
61-
TODO: Inherit of "enum.IntEnum" once we have upgraded to Python 3.4+.
62-
'''
61+
TODO: Inherit of "enum.IntEnum" once we have upgraded to Python 3.4+.
62+
'''
6363
NONE = ATTN_NONE
6464
NORMAL = ATTN_NORM
6565
IDLE = ATTN_IDLE
@@ -72,8 +72,8 @@ class Attenuations(object):
7272
class PitchTypes(object):
7373
'''Pitch values wrapper enumerator.
7474
75-
TODO: Inherit of "enum.IntEnum" once we have upgraded to Python 3.4+.
76-
'''
75+
TODO: Inherit of "enum.IntEnum" once we have upgraded to Python 3.4+.
76+
'''
7777
NORMAL = PITCH_NORM
7878
LOW = PITCH_LOW
7979
HIGH = PITCH_HIGH

addons/source-python/packages/source-python/players/weapons/projectiles.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __new__(mcl, name, bases, odict):
5151
self, temp['_classname'],
5252
temp['_is_filters'], temp['_not_filters']), doc='Returns ' +
5353
'a generator of {0} indexes the player owns.'.format(
54-
method_name)))
54+
method_name)))
5555

5656
# Create the get_<weapon>_indexes method
5757
setattr(
@@ -64,7 +64,7 @@ def __new__(mcl, name, bases, odict):
6464
getattr(
6565
cls, 'get_{0}_indexes'.format(method_name)).__doc__ = (
6666
'Returns a list of {0} indexes the player owns.'.format(
67-
method_name))
67+
method_name))
6868

6969
# Create the get_<weapon>_count method
7070
setattr(
@@ -89,7 +89,7 @@ def __new__(mcl, name, bases, odict):
8989
getattr(
9090
cls, 'set_{0}_count'.format(method_name)).__doc__ = (
9191
"Sets the player's {0} ammo amount to the given value.".format(
92-
method_name))
92+
method_name))
9393

9494
# Return the new class
9595
return cls

0 commit comments

Comments
 (0)