add todo about underscore

This commit is contained in:
jan 2023-04-08 00:40:52 -07:00
parent 4aad8ab786
commit 9b88be0e92

View File

@ -37,7 +37,7 @@ visitor_function_t = Callable[..., 'Pattern']
def _rename_patterns(lib: 'ILibraryView', name: str) -> str: def _rename_patterns(lib: 'ILibraryView', name: str) -> str:
# TODO document rename function # TODO document rename function
if not name.startswith('_'): if not name.startswith('_'): # TODO what are the consequences of making '_' special? maybe we can make this decision everywhere?
return name return name
stem = name.split('$')[0] stem = name.split('$')[0]