We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c29d54a commit 755c0a8Copy full SHA for 755c0a8
crates/vm/src/builtins/type.rs
@@ -1381,9 +1381,7 @@ impl Constructor for PyType {
1381
// Validate that all slots are valid identifiers
1382
for slot in slots.iter() {
1383
if !slot.isidentifier() {
1384
- return Err(
1385
- vm.new_type_error("__slots__ must be identifiers".to_owned())
1386
- );
+ return Err(vm.new_type_error("__slots__ must be identifiers".to_owned()));
1387
}
1388
1389
0 commit comments