diff options
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2009-09-26 14:53:32 (GMT) |
|---|---|---|
| committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2009-09-26 14:53:32 (GMT) |
| commit | 4780c9a0e0634ae0b5f5f508a9a8e4b8fac83a2c (patch) | |
| tree | 32e05b456d09944dc69bb3abef06fbdfa79e3e08 /Lib/logging/__init__.py | |
| parent | 9aac2455ab9b47033b8b0807e28a3d8b4a9d9d37 (diff) | |
| download | cpython-4780c9a0e0634ae0b5f5f508a9a8e4b8fac83a2c.zip cpython-4780c9a0e0634ae0b5f5f508a9a8e4b8fac83a2c.tar.gz cpython-4780c9a0e0634ae0b5f5f508a9a8e4b8fac83a2c.tar.bz2 | |
Tidied up name of parameter in StreamHandler
Diffstat (limited to 'Lib/logging/__init__.py')
| -rw-r--r-- | Lib/logging/__init__.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 9e18c22..9c72542 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -745,16 +745,16 @@ class StreamHandler(Handler): sys.stdout or sys.stderr may be used. """ - def __init__(self, strm=None): + def __init__(self, stream=None): """ Initialize the handler. - If strm is not specified, sys.stderr is used. + If stream is not specified, sys.stderr is used. """ Handler.__init__(self) - if strm is None: - strm = sys.stderr - self.stream = strm + if stream is None: + stream = sys.stderr + self.stream = stream def flush(self): """ |
