#NEWLINE# def print_deprecation_warning( old_param_name , new_param_name ) : #NEWLINE# #INDENT# warnings . warn ( ( "'%s' has been deprecated to be in line with pymongo implementation, a new parameter '%s' should be used instead. the old parameter will be kept for backward compatibility purposes." % ( new_param_name , new_param_name ) ) , DeprecationWarning )