diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2023-10-05 18:52:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 09:52:23 -0700 |
commit | 4ce5d140667125525c09183d574957c64600c46a (patch) | |
tree | b104be51471f4d557b115ada4a7c505344940927 | |
parent | 9e9653ac58b1290d05eab834f27773220655c2b4 (diff) | |
download | spack-4ce5d140667125525c09183d574957c64600c46a.tar.gz spack-4ce5d140667125525c09183d574957c64600c46a.tar.bz2 spack-4ce5d140667125525c09183d574957c64600c46a.tar.xz spack-4ce5d140667125525c09183d574957c64600c46a.zip |
unparse: drop python 3.4 remnants (#40333)
-rw-r--r-- | lib/spack/spack/util/unparse/unparser.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/spack/spack/util/unparse/unparser.py b/lib/spack/spack/util/unparse/unparser.py index 27dba8f287..c2e6376e50 100644 --- a/lib/spack/spack/util/unparse/unparser.py +++ b/lib/spack/spack/util/unparse/unparser.py @@ -398,21 +398,6 @@ class Unparser: else: comma = True self.dispatch(e) - if sys.version_info[:2] < (3, 5): - if node.starargs: - if comma: - self.write(", ") - else: - comma = True - self.write("*") - self.dispatch(node.starargs) - if node.kwargs: - if comma: - self.write(", ") - else: - comma = True - self.write("**") - self.dispatch(node.kwargs) with self.block(): self.dispatch(node.body) |