#NEWLINE# def unregister_placeholder( self , placeholder ) : #NEWLINE# #INDENT# '\n        Unregister the given placeholder(s).\n        If a placeholder appears to be not registered, a PlaceholderNotRegistered exception will be raised.\n        ' #NEWLINE# placeholder_name = placeholder . name #NEWLINE# if ( placeholder_name not in self . placeholders ) : #NEWLINE# #INDENT# raise PlaceholderNotRegistered ( 'The placeholder {!r} is not registered' . format ( placeholder ) ) #NEWLINE# #UNINDENT# del self . placeholders [ placeholder_name ]