mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
More removal of mutable default arguments.
I've left a few that clearly aren't being passed and aren't being mutated, but I think I've gotten the rest of them.
This commit is contained in:
committed by
Tim Abbott
parent
5fe9076631
commit
04c71fadc6
@@ -220,6 +220,6 @@ class CodeHiliteExtension(markdown.Extension):
|
||||
md.registerExtension(self)
|
||||
|
||||
|
||||
def makeExtension(configs={}):
|
||||
return CodeHiliteExtension(configs=configs)
|
||||
def makeExtension(configs=None):
|
||||
return CodeHiliteExtension(configs=configs or [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user