We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b09dc81 commit d0a8e96Copy full SHA for d0a8e96
pythonbpf/functions/func_registry_handlers.py
@@ -17,6 +17,6 @@ def decorator(handler):
17
return decorator
18
19
@classmethod
20
- def get_handler(cls, stmt_type):
+ def __getitem__(cls, stmt_type):
21
"""Get the handler for a specific statement type."""
22
return cls._handlers.get(stmt_type, None)
0 commit comments