Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
*keeps ranting that there are no lit tests so it's much harder to figure out what the code is even supposed to do as there are no examples*
clang/utils/analyzer/ProjectMap.py | ||
---|---|---|
14 | I was wondering what is the point of inheriting from str. I am not well-versed in Python so it is more of a curiosity. |
clang/utils/analyzer/ProjectMap.py | ||
---|---|---|
14 | It helps with direct assignments from strings, cross-comparisons between Enum values and strings, and most importantly - serialization. |
I was wondering what is the point of inheriting from str. I am not well-versed in Python so it is more of a curiosity.