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:
Nathan Florea
2016-06-02 16:43:28 -07:00
committed by Tim Abbott
parent 5fe9076631
commit 04c71fadc6
3 changed files with 10 additions and 6 deletions

View File

@@ -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 [])