We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caa87fc commit f1ab88eCopy full SHA for f1ab88e
src/org/python/core/PyDescriptor.java
@@ -6,6 +6,14 @@ public abstract class PyDescriptor extends PyObject implements Traverseproc {
6
7
protected String name;
8
9
+ @Override
10
+ public PyObject __findattr_ex__(String field) {
11
+ if (field.equals("__qualname__")) {
12
+ return new PyUnicode(String.format("%s.%s", dtype.getName(), name));
13
+ }
14
+ return super.__findattr_ex__(field);
15
16
+
17
protected void checkCallerType(PyType type) {
18
if (type == dtype || type.isSubType(dtype)) {
19
return;
0 commit comments