[Python-Dev] [Python-checkins] cpython: Improve an internal ipaddress test, add a comment explaining why treating (original) (raw)

Nadeem Vawda nadeem.vawda at gmail.com
Sun Jun 17 16:33:27 CEST 2012


On Sun, Jun 17, 2012 at 8:33 AM, nick.coghlan <python-checkins at python.org> wrote:

+    @property +    def version(self): +        msg = '%200s has no version specified' % (type(self),) +        raise NotImplementedError(msg) +

Shouldn't that be "%.200s", rather than "%200s"?



More information about the Python-Dev mailing list