Closed copybara-service[bot] closed 1 month ago
Make pytd printer resilient to visitors.RemoveNamePrefix()
visitors.RemoveNamePrefix()
Make it still correctly skip type annotations for self/cls parameters.
self
cls
After visitors.RemoveNamePrefix() is applied, class names don't exactly match the expectation that it had, so this needed to be fixed.
Make pytd printer resilient to
visitors.RemoveNamePrefix()
Make it still correctly skip type annotations for
self
/cls
parameters.After
visitors.RemoveNamePrefix()
is applied, class names don't exactly match the expectation that it had, so this needed to be fixed.