Home
last modified time | relevance | path

Searched refs:rebinding (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Lib/test/test_import/data/circular_imports/
H A Drebinding2.py2 from . import rebinding namespace
/third_party/python/Lib/test/
H A Dtest_named_expressions.py523 # iteration variables, but should be fine with rebinding of other
528 rebinding = "[x := i for i in range(3) if (x := i) or not x]"
533 ("Rebind global", f"x = 1; result = {rebinding}"),
534 ("Rebind nonlocal", f"result, x = (lambda x=1: ({rebinding}, x))()"),
/third_party/python/Lib/test/test_import/
H A D__init__.py1339 import test.test_import.data.circular_imports.rebinding as rebinding namespace
1341 self.fail('circular import with rebinding of module attribute failed') namespace
1343 self.assertIs(util.util, rebinding.util)

Completed in 4 milliseconds