core: fix redefined-builtin pylint violation

from 705e0beb (AppliedRule._checkExpand: add parameters to filter objects + better reporting, 2024-06-17)
18 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5.CodingStyleTest-Master

02:29:06

failed ERP5.PerformanceTest-Master

00:40:44

failed ERP5.UnitTest-Master

04:56:12

passed SlapOS.Eggs.UnitTest-Master.Python2

00:21:25

passed SlapOS.Eggs.UnitTest-Master.Python3

00:24:46

failed Wendelin.UnitTest-Master

01:13:19

failed ERP5.CodingStyleTest-Master

08:48:11

failed ERP5.CodingStyleTest-Master

01:29:54

failed ERP5.PerformanceTest-Master

00:39:53

failed ERP5.PerformanceTest-Master

03:50:15

failed ERP5.UnitTest-Master

01:50:32

failed ERP5.UnitTest-Master

10:00:22

passed SlapOS.Eggs.UnitTest-Master.Python2

00:15:14

passed SlapOS.Eggs.UnitTest-Master.Python2

02:07:55

passed SlapOS.Eggs.UnitTest-Master.Python3

00:19:02

passed SlapOS.Eggs.UnitTest-Master.Python3

passed Wendelin.UnitTest-Master

01:01:15

failed Wendelin.UnitTest-Master

07:39:35