Skip to content

Commit af6732d

Browse files
committed
Update list.go
1 parent 6b84462 commit af6732d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func init() {
5252
var ok bool
5353
l, ok = o.(*List)
5454
if !ok {
55-
return nil, ExceptionNewf(TypeError, "descriptor 'sort' requires a 'list' object but received a '%s'", args[0].Type())
55+
return nil, ExceptionNewf(TypeError, "descriptor 'sort' requires a 'list' object but received a '%s'", o.Type())
5656
}
5757
} else {
5858
// method called using `[].sort(**kargs)`

0 commit comments

Comments
 (0)