Commit 3a84717
committed
Add a utility "className" on Type
Working with LazyRef, TypeVars and so forth, it's often unclear from
RefinedPrinter's show what classes types are. So I often want to see
the implementing class. But the fully-qualified name is extreme, and
even the simple name can be trimmed down a touch. So I'd love to have
this implemented once so I can reuse it.1 parent d3c1c4e commit 3a84717
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1906 | 1906 | | |
1907 | 1907 | | |
1908 | 1908 | | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
1909 | 1917 | | |
1910 | 1918 | | |
1911 | 1919 | | |
| |||
0 commit comments