Commit 16c018d2 authored by Tim Peters's avatar Tim Peters

Repair repr of future-features (wasn't updated to include the new

compiler-flag argument).
parent 9881fc12
......@@ -87,8 +87,9 @@ class _Feature:
return self.mandatory
def __repr__(self):
return "_Feature(" + `self.getOptionalRelease()` + ", " + \
`self.getMandatoryRelease()` + ")"
return "_Feature" + repr((self.optional,
self.mandatory,
self.compiler_flag))
nested_scopes = _Feature((2, 1, 0, "beta", 1),
(2, 2, 0, "alpha", 0),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment