@elextr's analysis is correct, thanks. I think adding signature support for such builtins can get quite hard. Currently, we use Python's `inspect` to retrieve the signatures and it cannot get the signature for `range`:
```pycon >>> import inspect >>> inspect.signature(print) <Signature (*args, sep=' ', end='\n', file=None, flush=False)> >>> inspect.signature(range) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.12/inspect.py", line 3341, in signature return Signature.from_callable(obj, follow_wrapped=follow_wrapped, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/inspect.py", line 3081, in from_callable return _signature_from_callable(obj, sigcls=cls, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/inspect.py", line 2662, in _signature_from_callable raise ValueError( ValueError: no signature found for builtin type <class 'range'> ``` -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/4011#issuecomment-2451904009 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/4011/2451904...@github.com>