MCPcopy Create free account
hub / github.com/bpython/bpython / gen_names

Function gen_names

bpython/test/test_curtsies_painting.py:730–735  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

728
729
730def gen_names():
731 for letters in itertools.chain(
732 itertools.combinations_with_replacement(string.ascii_letters, 1),
733 itertools.combinations_with_replacement(string.ascii_letters, 2),
734 ):
735 yield "".join(letters)
736
737
738class TestCompletionHelpers(TestCase):

Callers 2

completion_targetFunction · 0.85
test_gen_namesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected