Skip to content

Commit 0ac21e9

Browse files
committed
Document strict parameter
1 parent e11dadd commit 0ac21e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ public int asFileDescriptor(Object receiver) {
590590
* @param receiver self
591591
* @param name attribute name
592592
* @param inheritedOnly determines whether the lookup should start on the class or on the object
593+
* @param strict whether to raise {@code AttributeError} when the attribute is not found
593594
*/
594595
public Object lookupAttribute(Object receiver, String name, boolean inheritedOnly, boolean strict) {
595596
CompilerDirectives.transferToInterpreterAndInvalidate();

0 commit comments

Comments
 (0)