diff options
author | Zenithal <i@zenithal.me> | 2022-04-03 16:57:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 01:57:59 -0700 |
commit | dd2e9229b5bfb3d5fd37a02ca2f99debb2321fd1 (patch) | |
tree | 1c47ddbf53d11675070d505aae07f9174ba9dfdb /parse_opcodes | |
parent | baa66b931d6563d5121cfd2cfd5829b758e462be (diff) | |
download | riscv-opcodes-dd2e9229b5bfb3d5fd37a02ca2f99debb2321fd1.zip riscv-opcodes-dd2e9229b5bfb3d5fd37a02ca2f99debb2321fd1.tar.gz riscv-opcodes-dd2e9229b5bfb3d5fd37a02ca2f99debb2321fd1.tar.bz2 |
Modernize to Python 3 (#104)
Python2 has already been deprecated in 2020
This also removes the dependency of python2-future
Ref to #22
Diffstat (limited to 'parse_opcodes')
-rwxr-xr-x | parse_opcodes | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/parse_opcodes b/parse_opcodes index 5f2ebb8..a9445bc 100755 --- a/parse_opcodes +++ b/parse_opcodes @@ -1,8 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 -from __future__ import print_function -from builtins import hex -from builtins import range import math import sys import tokenize |