@@ -1093,7 +1093,8 @@ def maybe_insert_into_registry_dict(builder: IRBuilder, fitem: FuncDef) -> None:
10931093
10941094 dispatch_func_obj = builder .load_global_str (fitem .name , line )
10951095 builder .primitive_op (
1096- py_setattr_op , [dispatch_func_obj , builder .load_str ("registry" ), registry_dict ], line )
1096+ py_setattr_op , [dispatch_func_obj , builder .load_str ("registry" ), registry_dict ], line
1097+ )
10971098
10981099 for singledispatch_func , types in to_register .items ():
10991100 # TODO: avoid recomputing the native IDs for all the functions every time we find a new
@@ -1107,7 +1108,8 @@ def maybe_insert_into_registry_dict(builder: IRBuilder, fitem: FuncDef) -> None:
11071108 to_insert = builder .add (load_literal )
11081109 # TODO: avoid reloading the registry here if we just created it
11091110 dispatch_func_obj = load_func (
1110- builder , singledispatch_func .name , singledispatch_func .fullname , line )
1111+ builder , singledispatch_func .name , singledispatch_func .fullname , line
1112+ )
11111113 registry = load_singledispatch_registry (builder , dispatch_func_obj , line )
11121114 for typ in types :
11131115 loaded_type = load_type (builder , typ , None , line )
0 commit comments