]> granicus.if.org Git - python/commit
Promote the server version from a local variable to a class variable,
authorGuido van Rossum <guido@python.org>
Thu, 24 Aug 2000 16:18:04 +0000 (16:18 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 24 Aug 2000 16:18:04 +0000 (16:18 +0000)
commitba3113807dc63e827463d641c1b4511b064d3c88
tree839d9119fccf66273b4b1ef53452da779e647568
parentff5364ac9d8583d65dd331165736f9cf2339880d
Promote the server version from a local variable to a class variable,
so that a subclass can override it.

This partly addresses Bug #112634 -- but the documentation is still
wrong, since it suggests that you can set self.version *after* calling
the base class __init__.  In fact it must be done *before*.

I'll fix that too.
Lib/urllib.py