Closed HuanzhiMao closed 2 days ago
qq: why we have dataset changes in this PR?
If this PR does more than adding unit test, please write in PR description.
qq: why we have dataset changes in this PR?
If this PR does more than adding unit test, please write in PR description.
Those are necessary to make the script work. You can see commit message.
Please add to top-level PR description, reviewers and other readers will mainly read PR descriptions.
This PR adds a new unit test to check for illegal function parameter names in Python, using the
kwlist
from thekeyword
module. For example, we cannot haveclass
as the parameter name, otherwise it would lead to AST parsing error.Credit to Pan Yinxu (@Cppowboy) for the original idea.
Here is the output of the unit test. All these entries need to have their function doc fixed.