add todo about underscore

This commit is contained in:
jan 2023-04-08 00:40:52 -07:00
parent b13d7286e5
commit cbe5c07f8f

View File

@ -37,7 +37,7 @@ visitor_function_t = Callable[..., 'Pattern']
def _rename_patterns(lib: 'ILibraryView', name: str) -> str:
# 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
stem = name.split('$')[0]