Skip to content

Commit fb34e77

Browse files
committed
Update javadoc
1 parent 3d8f5b4 commit fb34e77

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/object/PythonObjectLibrary.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,9 @@ protected Object lookupAttributeInternal(Object receiver, ThreadState state, Str
645645
}
646646

647647
/**
648-
* Lookup an attribute directly in MRO of the receiver's type. Typically used to lookup special
649-
* methods and attributes. Equivalent of CPython's {@code _PyType_Lookup}.
648+
* Lookup an attribute directly in MRO of the receiver's type. Doesn't bind the attribute to the
649+
* object. Typically used to lookup special methods and attributes. Equivalent of CPython's
650+
* {@code _PyType_Lookup} or {@code lookup_maybe_method}.
650651
*
651652
* @param receiver self
652653
* @param name attribute name
@@ -695,7 +696,8 @@ public Object callObjectWithState(Object callable, ThreadState state, Object...
695696
* Call an unbound method or other unbound descriptor using given receiver. Will first call
696697
* {@code __get__} to bind the descriptor, then call the bound object. There are optimized
697698
* implementations for plain and builtin functions that avoid creating the intermediate bound
698-
* object. Typically called on a result of {@link #lookupAttributeOnType}.
699+
* object. Typically called on a result of {@link #lookupAttributeOnType}. Equivalent of
700+
* CPython's {@code call_unbound}.
699701
*
700702
* @param method unbound method or descriptor object whose {@code __get__} hasn't been called
701703
* @param receiver self

0 commit comments

Comments
 (0)