Skip to content
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

extra comma (,) in the json snippet in Doc/howto/logging-cookbook.rst #101440

Closed
peterjpxie opened this issue Jan 30, 2023 · 1 comment
Closed
Labels
docs Documentation in the Doc dir

Comments

@peterjpxie
Copy link
Contributor

peterjpxie commented Jan 30, 2023

Documentation

There is an extra comma (,) in the json snippet in Doc/howto/logging-cookbook.rst as follows.

Suppose you configure logging with the following JSON:

.. code-block:: json
...
                 "class": "logging.StreamHandler",
                 "level": "INFO",
                 "formatter": "simple",
-                "stream": "ext://sys.stdout",
+                "stream": "ext://sys.stdout"
             },
             "stderr": {

Linked PRs

@peterjpxie peterjpxie added the docs Documentation in the Doc dir label Jan 30, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jan 31, 2023
…onGH-101439)

(cherry picked from commit 20c11f2)

Co-authored-by: Peter Jiping Xie <peter.jp.xie@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jan 31, 2023
…onGH-101439)

(cherry picked from commit 20c11f2)

Co-authored-by: Peter Jiping Xie <peter.jp.xie@gmail.com>
miss-islington added a commit that referenced this issue Jan 31, 2023
(cherry picked from commit 20c11f2)

Co-authored-by: Peter Jiping Xie <peter.jp.xie@gmail.com>
miss-islington added a commit that referenced this issue Jan 31, 2023
…101439) (GH-101463)

(cherry picked from commit 20c11f2)

Co-authored-by: Peter Jiping Xie <peter.jp.xie@gmail.com>

Automerge-Triggered-By: GH:hugovk
@AlexWaygood
Copy link
Member

Thanks for the fix @peterjpxie!

carljm added a commit to carljm/cpython that referenced this issue Jan 31, 2023
* main:
  pythongh-101440: fix json snippet error in logging-cookbook.rst (python#101439)
  pythongh-99276 - Updated Doc/faq/general.rst (python#101396)
  Add JOBS parameter to docs Makefile (python#101395)
  pythongh-98831: rewrite GET_LEN, GET_ITER, BEFORE_WITH and a few simple opcodes in the instruction definition DSL (python#101443)
  pythongh-77607: Improve accuracy of os.path.join docs (python#101406)
  Fixes typo in asyncio.TaskGroup context manager code example (python#101449)
  pythongh-98831: Clean up and add cache size static_assert to macro (python#101442)
  pythongh-99955: use SUCCESS/ERROR return values in optimizer and assembler. Use RETURN_IF_ERROR where appropriate. Fix a couple of bugs. (python#101412)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants