Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Colloquial phrasing messed with highlighting
Also it is better readable for non-English native speakers.
  • Loading branch information
Kebap authored Jun 24, 2022
commit 6c63165436dd3210058c8a53f4cfff54857b7465
8 changes: 4 additions & 4 deletions pep-0282.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ used to generate simple logging output on stderr.
log = logging.getLogger("MyModule")

def doIt():
log.debug("Doin' stuff...")
log.debug("Doing stuff...")
#do stuff...
raise TypeError, "Bogus type error for testing"
-----------------------------------------------------
Expand All @@ -94,7 +94,7 @@ used to generate simple logging output on stderr.
% python myapp.py

INFO:MyApp: Starting my app
DEBUG:MyModule: Doin' stuff...
DEBUG:MyModule: Doing stuff...
ERROR:MyApp: There was a problem.
Traceback (most recent call last):
File "myapp.py", line 9, in ?
Expand All @@ -109,11 +109,11 @@ The above example shows the default output format. All
aspects of the output format should be configurable, so that
you could have output formatted like this::

2002-04-19 07:56:58,174 MyModule DEBUG - Doin' stuff...
2002-04-19 07:56:58,174 MyModule DEBUG - Doing stuff...

or just

Doin' stuff...
Doing stuff...


Control Flow
Expand Down