File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -236,7 +236,7 @@ def bytecode_nameof(code: CodeType, offset: int) -> str:
|
236 | 236 | raise pos_only_error
|
237 | 237 |
|
238 | 238 | if current_instruction.opname not in ("CALL_FUNCTION", "CALL_METHOD", "CALL"):
|
239 |
| -raise VarnameRetrievingError("Did you call 'nameof' in a weird way? " + str(current_instruction)) |
| 239 | +raise VarnameRetrievingError("Did you call 'nameof' in a weird way?") |
240 | 240 |
|
241 | 241 | current_instruction_index -= 1
|
242 | 242 | name_instruction = instructions[current_instruction_index]
|
|
You can’t perform that action at this time.
0 commit comments