Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0357661

Browse files
authored
fix type_check (RustPython#5097)
1 parentbda7c5c commit0357661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎vm/src/protocol/object.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ impl PyObject {
565565

566566
// int PyObject_TypeCheck(PyObject *o, PyTypeObject *type)
567567
pubfntype_check(&self,typ:PyTypeRef) ->bool{
568-
self.class().fast_isinstance(&typ)
568+
self.fast_isinstance(&typ)
569569
}
570570

571571
pubfnlength_opt(&self,vm:&VirtualMachine) ->Option<PyResult<usize>>{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp