This operator will allow to send arguments to function only by certain values. Example:
def some_function(a > (1, 2,3), b): # Some code some_function(1, 2) some_function(4, 2) # Error "Value '4' is not allowed for argument 'a'" _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/2W4IRHQAUX4QS7CG3QQ3MQ2K5IMNJQYC/ Code of Conduct: http://python.org/psf/codeofconduct/
