GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — extra comma (,) in the json snippet in Doc/howto/logging-cookbook.rst · Issue #101440 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
extra comma (,) in the json snippet in Doc/howto/logging-cookbook.rst#101440
Copy link
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir

Description

@peterjpxie
peterjpxie
opened on Jan 30, 2023
Issue body actions

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

  • gh-101440: fix json snippet error in logging-cookbook.rst #101439
  • [3.11] gh-101440: fix json snippet error in logging-cookbook.rst (GH-101439) #101463
  • [3.10] gh-101440: fix json snippet error in logging-cookbook.rst (GH-101439) #101464

Activity

  1. peterjpxie
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    on Jan 30, 2023
  2. hugovk
    added a commit that references this issue on Jan 31, 2023

    gh-101440: fix json snippet error in logging-cookbook.rst (#101439)

    20c11f2
  3. miss-islington
    added 4 commits that reference this issue on Jan 31, 2023

    pythongh-101440: fix json snippet error in logging-cookbook.rst (pyth…

    17150be

    pythongh-101440: fix json snippet error in logging-cookbook.rst (pyth…

    e3a6df6

    gh-101440: fix json snippet error in logging-cookbook.rst (GH-101439)

    6b2ed1c

    [3.11] gh-101440: fix json snippet error in logging-cookbook.rst (GH-…

    5e49807
  4. AlexWaygood commented on Jan 31, 2023

    @AlexWaygood
    AlexWaygood
    on Jan 31, 2023
    Member
    More actions

    Thanks for the fix @peterjpxie!

  5. AlexWaygood
    closed this as completedon Jan 31, 2023
  6. mdboom
    added a commit that references this issue on Jan 31, 2023

    pythongh-101440: fix json snippet error in logging-cookbook.rst (pyth…

    371a25e
  7. carljm
    added a commit that references this issue on Jan 31, 2023

    Merge branch 'main' into inlinecomp2

    ed3209b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.