10000 PEP 282: Improve upon colloquial phrasing by Kebap · Pull Request #2667 · python/peps · GitHub
[go: up one dir, main page]

Skip to content

PEP 282: Improve upon colloquial phrasing #2667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 3, 2022
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
Prev Previous commit
Next Next commit
undo last commit
  • Loading branch information
Kebap authored Aug 2, 2022
commit abe374e75f4f5febb9fdaf03a8bf32d79e39f598
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("Doing stuff...")
log.debug("Doin' 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: Doing stuff...
DEBUG:MyModule: Doin' 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 - Doing stuff...
2002-04-19 07:56:58,174 MyModule DEBUG - Doin' stuff...

or just

Doing stuff...
Doin' stuff...


Control Flow
Expand Down
0