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

Appearance settings

Commit de272d1

Browse filesBrowse files
committed
cleanup
1 parent cd7bd37 commit de272d1
Copy full SHA for de272d1

File tree

1 file changed

+0
-3
lines changed
Filter options

1 file changed

+0
-3
lines changed

‎vm/src/stdlib/ctypes/function.rs

Copy file name to clipboardExpand all lines: vm/src/stdlib/ctypes/function.rs
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ impl Function {
106106
.enumerate()
107107
.map(|(count, arg)| {
108108
// none type check
109-
if vm.is_none(&arg) {
110-
return Ok(Arg::new(std::ptr::null()));
111-
}
112109
if let Some(d) = arg.payload_if_subclass::<PyCSimple>(vm) {
113110
return Ok(d.to_arg(self.args[count].clone(), vm).unwrap());
114111
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.