def unregister_trophy(trophy):
 warnings.warn(u'unregister_trophy() is deprecated. Please use reviewboard.accounts.trophies:trophies_registry.unregister() instead.', DeprecationWarning)
 if (not issubclass(trophy, TrophyType)):
  raise TypeError(u'Only TrophyType subclasses can be unregistered')
 try:
  trophies_registry.unregister(trophy)
 except ItemLookupError as e:
  raise ValueError(six.text_type(e))

def unregister_trophy ( trophy ) : warnings . warn ( u'unregister_trophy() is deprecated. Please use reviewboard.accounts.trophies:trophies_registry.unregister() instead.' , DeprecationWarning ) if ( not issubclass ( trophy , TrophyType ) ) : raise TypeError ( u'Only TrophyType subclasses can be unregistered' ) try : trophies_registry . unregister ( trophy ) except ItemLookupError as e : raise ValueError ( six . text_type ( e ) )
unregister a trophytype subclass .