Commit 3d993c9
committed
fix: Use super() instead of name mangling for _parse_join calls
The previous implementation used self.__parse_join() which relies on Python's
name mangling and doesn't work correctly. This changes it to use super(Parser, self)._parse_join()
which properly calls the parent class method.
This fixes the mypy error: Parser has no attribute __parse_join
Signed-off-by: Awanish Gupta <awanishgupta159@gmail.com>1 parent 0c1abe1 commit 3d993c9
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
329 | 333 | | |
330 | | - | |
| 334 | + | |
331 | 335 | | |
332 | 336 | | |
333 | 337 | | |
| |||
0 commit comments