We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e3ec33 commit 8d9d071Copy full SHA for 8d9d071
Lib/typing.py
@@ -363,18 +363,6 @@ def _deduplicate_unhashable(unhashable_params):
363
new_unhashable.append(t)
364
return new_unhashable
365
366
-def _compare_args_orderless(first_args, second_args):
367
- first_unhashable = _deduplicate_unhashable(first_args)
368
- second_unhashable = _deduplicate_unhashable(second_args)
369
- t = list(second_unhashable)
370
- try:
371
- for elem in first_unhashable:
372
- t.remove(elem)
373
- except ValueError:
374
- return False
375
- return not t
376
-
377
378
def _flatten_literal_params(parameters):
379
"""Internal helper for Literal creation: flatten Literals among parameters."""
380
params = []
0 commit comments