Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 73fa727

Browse files
committed
Fixed crasher. Patch by Florent Xicluna.
1 parent fc21e01 commit 73fa727

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/crashers/bogus_code_obj.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414

1515
import types
1616

17-
co = types.CodeType(0, 0, 0, 0, '\x04\x71\x00\x00', (),
18-
(), (), '', '', 1, '')
17+
co = types.CodeType(0, 0, 0, 0, 0, b'\x04\x71\x00\x00',
18+
(), (), (), '', '', 1, b'')
1919
exec(co)

0 commit comments

Comments
 (0)