@@ -211,20 +211,20 @@ PBaseSet doPBaseSet(PFrozenSet left, PBaseSet right) {
211
211
212
212
@ Specialization
213
213
PBaseSet doPBaseSet (PSet left , PDictView right ,
214
- @ Cached ("create()" ) SetNodes .ConstructSetNode constructSetNode ) {
214
+ @ Cached ("create()" ) SetNodes .ConstructSetNode constructSetNode ) {
215
215
PSet rightSet = constructSetNode .executeWith (right );
216
216
HashingStorage intersectedStorage = getIntersectNode ().execute (left .getDictStorage (), rightSet .getDictStorage ());
217
217
return factory ().createSet (intersectedStorage );
218
218
}
219
-
219
+
220
220
@ Specialization
221
221
PBaseSet doPBaseSet (PFrozenSet left , PDictView right ,
222
- @ Cached ("create()" ) SetNodes .ConstructSetNode constructSetNode ) {
222
+ @ Cached ("create()" ) SetNodes .ConstructSetNode constructSetNode ) {
223
223
PSet rightSet = constructSetNode .executeWith (right );
224
224
HashingStorage intersectedStorage = getIntersectNode ().execute (left .getDictStorage (), rightSet .getDictStorage ());
225
225
return factory ().createSet (intersectedStorage );
226
226
}
227
-
227
+
228
228
@ Fallback
229
229
Object doAnd (Object self , Object other ) {
230
230
throw raise (PythonErrorType .TypeError , "unsupported operand type(s) for &: '%p' and '%p'" , self , other );
@@ -284,23 +284,23 @@ PBaseSet doPBaseSet(PFrozenSet left, PBaseSet right) {
284
284
HashingStorage intersectedStorage = getUnionNode ().execute (left .getDictStorage (), right .getDictStorage ());
285
285
return factory ().createFrozenSet (intersectedStorage );
286
286
}
287
-
287
+
288
288
@ Specialization
289
289
PBaseSet doPBaseSet (PSet left , PDictView right ,
290
- @ Cached ("create()" ) SetNodes .ConstructSetNode constructSetNode ) {
290
+ @ Cached ("create()" ) SetNodes .ConstructSetNode constructSetNode ) {
291
291
PSet rightSet = constructSetNode .executeWith (right );
292
292
HashingStorage intersectedStorage = getUnionNode ().execute (left .getDictStorage (), rightSet .getDictStorage ());
293
293
return factory ().createSet (intersectedStorage );
294
294
}
295
-
295
+
296
296
@ Specialization
297
297
PBaseSet doPBaseSet (PFrozenSet left , PDictView right ,
298
- @ Cached ("create()" ) SetNodes .ConstructSetNode constructSetNode ) {
298
+ @ Cached ("create()" ) SetNodes .ConstructSetNode constructSetNode ) {
299
299
PSet rightSet = constructSetNode .executeWith (right );
300
300
HashingStorage intersectedStorage = getUnionNode ().execute (left .getDictStorage (), rightSet .getDictStorage ());
301
301
return factory ().createSet (intersectedStorage );
302
302
}
303
-
303
+
304
304
@ Fallback
305
305
Object doOr (Object self , Object other ) {
306
306
throw raise (PythonErrorType .TypeError , "unsupported operand type(s) for |: '%p' and '%p'" , self , other );
0 commit comments