Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the ABC class to declare an abstract class
This allows IDEs and other tools to recognize that the class is abstract and throws the appropriate warnings. It also causes an exception to be thrown before a token is consumed. (cherry picked from commit 29ea3b0e2617fe88bc4488a900b1f12cc1ca68e5)
- Loading branch information
1 parent
afce60e
commit 1c342d0
Showing
3 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters