1.1 --- a/translator.py Sun Oct 30 22:17:00 2016 +0100
1.2 +++ b/translator.py Sun Oct 30 22:33:22 2016 +0100
1.3 @@ -178,7 +178,7 @@
1.4
1.5 def __str__(self):
1.6 if self.value in ("False", "True"):
1.7 - return encode_path("__builtins__.bool.%s" % self.value)
1.8 + return encode_path("__builtins__.boolean.%s" % self.value)
1.9 elif self.value == "None":
1.10 return encode_path("__builtins__.none.%s" % self.value)
1.11 elif self.value == "NotImplemented":
1.12 @@ -287,7 +287,7 @@
1.13
1.14 # NOTE: This makes assumptions about the __builtins__ structure.
1.15
1.16 - return self.importer.get_object("__builtins__.%s.%s" % (name, name == "bool" and "boolean" or name))
1.17 + return self.importer.get_object("__builtins__.%s.%s" % (name, name))
1.18
1.19 def is_method(self, path):
1.20