Skip to content

Commit

Permalink
Minor typo fixes (#559)
Browse files Browse the repository at this point in the history
* docs: Capitalize "Unicode"

* docs: Fix redundant "until now"

* docs: Add missing commas

---------

Co-authored-by: Hynek Schlawack <[email protected]>
  • Loading branch information
mssalvatore and hynek authored Oct 4, 2023
1 parent 0f293da commit 3dbc3d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Whenever you bind or unbind data to a *bound logger*, this class is instantiated

### Logger Factories

We've already talked about wrapped loggers responsible for the output, but until now we haven't explained where they come from until now.
We've already talked about wrapped loggers responsible for the output, but we haven't explained where they come from until now.
Unlike with *bound loggers*, you often need more flexibility when instantiating them.
Therefore you don't configure a class; you configure a *factory* using the `logger_factory` keyword.

Expand Down
2 changes: 1 addition & 1 deletion docs/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Please note that recipes related to integration with frameworks have an [own cha
The name of the event is hard-coded in *structlog* to `event`.
But that doesn't mean it has to be called that in your logs.

With the {class}`structlog.processors.EventRenamer` processor you can for instance rename the log message to `msg` and use `event` for something custom, that you bind to `_event` in your code:
With the {class}`structlog.processors.EventRenamer` processor, you can, for instance, rename the log message to `msg` and use `event` for something custom, that you bind to `_event` in your code:

```pycon
>>> from structlog.processors import EventRenamer
Expand Down
2 changes: 1 addition & 1 deletion docs/standard-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ structlog.configure(
# sys.exc_info() tuple, remove "exc_info" and render the exception
# with traceback into the "exception" key.
structlog.processors.format_exc_info,
# If some value is in bytes, decode it to a unicode str.
# If some value is in bytes, decode it to a Unicode str.
structlog.processors.UnicodeDecoder(),
# Add callsite parameters.
structlog.processors.CallsiteParameterAdder(
Expand Down

0 comments on commit 3dbc3d8

Please sign in to comment.