We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78fb48a commit 7ee548bCopy full SHA for 7ee548b
pyplugins/apis/uprobes.py
@@ -108,16 +108,13 @@ def _analyze_signature(self, func):
108
CTX_ENTER = 0
109
CTX_TGID_PID = 1
110
111
- has_varkw = False
112
-
113
# Temporary list of positionals to assign standard meanings to
114
positional_candidates = []
115
# Pre-identify parameter names to avoid double-injection
116
param_names = {p.name for p in params}
117
118
for p in params:
119
if p.kind == p.VAR_KEYWORD:
120
- has_varkw = True
121
# ONLY inject if the context names aren't already explicitly handled
122
if 'is_enter' not in param_names:
123
kw_indices['is_enter'] = CTX_ENTER
0 commit comments