]> granicus.if.org Git - python/commit
Add "file" argument to Hook constructor.
authorKa-Ping Yee <ping@zesty.ca>
Tue, 4 Dec 2001 18:45:17 +0000 (18:45 +0000)
committerKa-Ping Yee <ping@zesty.ca>
Tue, 4 Dec 2001 18:45:17 +0000 (18:45 +0000)
commitfa78d0fbe45a7f16d5d30c3d4e3ad30dc4933e8f
tree0f1d3ba76e58a346d84b00689b1743dd7db5d946
parent4b402f207416a448197fc5696ae3a1e4e3fbcac1
Add "file" argument to Hook constructor.
By default, save sys.stdout in self.file when a Hook instance is created
    (e.g. when cgitb.enable() is called).
Lib/cgitb.py