#NEWLINE# def __init__( self , fp = None ) : #NEWLINE# #INDENT# "Initialize a simple translations class which is not backed by a\n        real catalog. Behaves similar to gettext.NullTranslations but also\n        offers Babel's on *gettext methods (e.g. 'dgettext()').\n\n        :param fp: a file-like object (ignored in this class)\n        " #NEWLINE# self . _catalog = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . plural = ( lambda n : int ( ( n != 1 ) ) ) #NEWLINE# super ( NullTranslations , self ) . __init__ ( fp = fp ) #NEWLINE# self . files = filter ( None , [ getattr ( fp , 'name' , None ) ] ) #NEWLINE# self . domain = self . DEFAULT_DOMAIN #NEWLINE# self . _domains = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# }