The __name__ attribute is the correct way to get a function name in
Python 3. This also works with Python 2.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D71136
[libcxx] Replace func_name with __name__ for compatibility with Python 3 ClosedPublic Authored by broadwaylamb on Dec 6 2019, 11:21 AM.
Details Summary The __name__ attribute is the correct way to get a function name in
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 7 2019, 4:53 PM Closed by commit rG44c167ace998: [libcxx] Replace func_name with __name__ for compatibility with Python 3 (authored by broadwaylamb). · Explain WhyDec 10 2019, 3:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 233211 libcxx/utils/libcxx/test/tracing.py
|