Files
Jannick Kremer ceeb93096c [libclang/python] Return None instead of null cursors from Token.cursor (#163183)
Since https://github.com/llvm/llvm-project/pull/138103 , the `Cursor`
class throws an error when any of its methods is called on a null
cursor. Simultaneously, we adapted all methods to return `None` instead
of a null cursor, so users should not encounter these. We have
overlooked one way to end up with null cursors, namely the
`Token.cursor` property, which may return null cursors under some
circumstances.

Fixes #163180
2025-10-20 09:55:15 +00:00
..
2025-03-29 20:54:15 +01:00
2025-04-10 20:40:43 +02:00