diff options
| author | 2021-01-11 02:01:00 +0100 | |
|---|---|---|
| committer | 2021-01-11 02:21:32 +0100 | |
| commit | 3b735398ca88b022e2fd815d715f3965c87f32ce (patch) | |
| tree | 923e7b7096691b3ffcdbb0f1762b1959fc90f9f4 /tests/base.py | |
| parent | Update outdated docstring (diff) | |
Handle renaming conflicting symbols in ensure_unique_symbol_name
Previously update_single looped this function until there were no
duplicates and when creating new symbols the function had to check
if the symbol to create a new name from started with a group/package
to avoid redundancy.
The new approach ensures a new symbol is always unique when returning
by handling the containment check inside and outputting a symbol name
in the format of package.group.symbol which should always be unique
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions