Skip to content

Commit

Permalink
Leave zero
Browse files Browse the repository at this point in the history
Signed-off-by: Kemal Akkoyun <[email protected]>
  • Loading branch information
kakkoyun committed Mar 1, 2024
1 parent 65417f4 commit 405e2bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/python/datamap.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ func (p python312) Layout() runtimedata.RuntimeData {
PyCodeObject: PyCodeObject{
CoFilename: p.PyCodeObjectCoFilename,
CoName: p.PyCodeObjectCoName,
CoVarnames: doesNotExist,
CoVarnames: 0,
CoFirstlineno: p.PyCodeObjectCoFirstlineno,
},
PyTupleObject: PyTupleObject{
Expand Down Expand Up @@ -452,7 +452,7 @@ func (p python313) Layout() runtimedata.RuntimeData {
PyCodeObject: PyCodeObject{
CoFilename: p.PyCodeObjectCoFilename,
CoName: p.PyCodeObjectCoName,
CoVarnames: doesNotExist,
CoVarnames: 0,
CoFirstlineno: p.PyCodeObjectCoFirstlineno,
},
PyTupleObject: PyTupleObject{
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/testdata/python_3_12_0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ py_cframe:
py_code_object:
co_filename: 112
co_name: 120
co_varnames: -1
co_varnames: 0
co_firstlineno: 68
py_frame_object:
f_back: 8
Expand Down

0 comments on commit 405e2bc

Please sign in to comment.