Documentation - overwriting built in

Hey, Python Scripting API Documentation — Python Scripting API 3.0 documentation here you are advising people to overwrite built-in function filter. Not good, and looks weird as its highlighted by your syntax highlighter

You mean the filter plugins shouldn’t use a method called filter()?

I think they mean the example function in the code snippet:

# Helper function to get filter by its class name
def filter(name):
   # ...

That conflicts with the predefined filter function in Python, so it’s not a good function name.

Indeed, thanks for making it clear!

I changed it in the code. Will need to re-generate the html.