Skip to content

Commit

Permalink
Drop python2 support
Browse files Browse the repository at this point in the history
Since we are not testing it in the CI anyway.
  • Loading branch information
Vincent-lau committed Sep 25, 2024
1 parent a8d529d commit 31dac5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/pythongen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ class ListAction(argparse.Action):

let compat_block =
[ Line "get_str = str"
; Line "if sys.version_info[0] > 2:"
; Block [ Line "long = int"; Line "unicode = str"; Line "str = bytes" ]
; Line "long = int"
; Line "unicode = str"
; Line "str = bytes"
; Line ""
]

Expand Down

0 comments on commit 31dac5b

Please sign in to comment.