def deprecation_warning(message=None):
 sys.stderr.write(u'WARNING: This function is deprecated.')
 if message:
  sys.stderr.write((u' ' + message.strip()))
 sys.stderr.write(u'\n')

def deprecation_warning ( message = None ) : sys . stderr . write ( u'WARNING: This function is deprecated.' ) if message : sys . stderr . write ( ( u' ' + message . strip ( ) ) ) sys . stderr . write ( u'\n' )
print a deprecation warning to stderr .