Use Python 3's new super() convention.
This commit is contained in:
parent
0cd979327b
commit
cd21fb2396
52 changed files with 164 additions and 164 deletions
|
|
@ -541,7 +541,7 @@ class CmdCombatHelp(CmdHelp):
|
|||
"|wPass:|n Pass your turn without further action.|/" +
|
||||
"|wDisengage:|n End your turn and attempt to end combat.|/")
|
||||
else:
|
||||
super(CmdCombatHelp, self).func() # Call the default help command
|
||||
super().func() # Call the default help command
|
||||
|
||||
|
||||
class BattleCmdSet(default_cmds.CharacterCmdSet):
|
||||
|
|
|
|||
|
|
@ -658,7 +658,7 @@ class CmdCombatHelp(CmdHelp):
|
|||
"|wPass:|n Pass your turn without further action.|/" +
|
||||
"|wDisengage:|n End your turn and attempt to end combat.|/")
|
||||
else:
|
||||
super(CmdCombatHelp, self).func() # Call the default help command
|
||||
super().func() # Call the default help command
|
||||
|
||||
class CmdWield(Command):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue