(obj: &PyObjectRef)
| 116 | } |
| 117 | |
| 118 | fn is_placeholder(obj: &PyObjectRef) -> bool { |
| 119 | &*obj.class().name() == "_PlaceholderType" |
| 120 | } |
| 121 | |
| 122 | fn count_placeholders(args: &[PyObjectRef]) -> usize { |
| 123 | args.iter().filter(|a| is_placeholder(a)).count() |
no test coverage detected