Commits

Georg Brandl  committed bfaa3ed

Use tuples as default values.

  • Participants
  • Parent commits 51481b9

Comments (0)

Files changed (1)

File domination/tools.py

 
 
 class Translatable:
-	def __init__(self, string, parameters=[]):
+	def __init__(self, string, parameters=()):
 		self.string = string
 		self.parameters = parameters
 
 		return gettext(self.string % self.parameters)
 
 
-def _(string, parameters=[]):
+def _(string, parameters=()):
 	return Translatable(string, parameters)