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 d145ceb commit f5b6becCopy full SHA for f5b6bec
xdis/codetype/__init__.py
@@ -198,12 +198,10 @@ def to_portable(
198
co_varnames=None,
199
co_filename=None,
200
co_name=None,
201
- co_qualname="",
202
co_firstlineno=-1,
203
co_lnotab="", # 1.5+; 3.0+ this type changes from <str> to <bytes>
204
- co_exceptiontable=b'',
205
- co_freevars=(None,), # 2.0+
206
- co_cellvars=(None,), # 2.0+
+ co_freevars=(None, ), # 2.0+
+ co_cellvars=(None, ), # 2.0+
207
version_triple=PYTHON_VERSION_TRIPLE,
208
):
209
code = CodeTypeUnion(
@@ -219,10 +217,8 @@ def to_portable(
219
217
co_varnames,
220
218
co_filename,
221
co_name,
222
- co_qualname,
223
co_firstlineno,
224
co_lnotab,
225
- co_exceptiontable,
226
co_freevars,
227
co_cellvars,
228
)
0 commit comments