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

Small typo in Json docs #72342

Closed
AndrewMorozko mannequin opened this issue Sep 14, 2016 · 3 comments
Closed

Small typo in Json docs #72342

AndrewMorozko mannequin opened this issue Sep 14, 2016 · 3 comments
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@AndrewMorozko
Copy link
Mannequin

AndrewMorozko mannequin commented Sep 14, 2016

BPO 28155
Nosy @zware

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2016-09-14.16:02:36.575>
created_at = <Date 2016-09-14.15:57:28.149>
labels = ['type-feature', 'invalid', 'docs']
title = 'Small typo in Json docs'
updated_at = <Date 2016-09-14.16:16:45.059>
user = 'https://bugs.python.org/AndrewMorozko'

bugs.python.org fields:

activity = <Date 2016-09-14.16:16:45.059>
actor = 'zach.ware'
assignee = 'docs@python'
closed = True
closed_date = <Date 2016-09-14.16:02:36.575>
closer = 'SilentGhost'
components = ['Documentation']
creation = <Date 2016-09-14.15:57:28.149>
creator = 'Andrew Morozko'
dependencies = []
files = []
hgrepos = []
issue_num = 28155
keywords = []
message_count = 3.0
messages = ['276467', '276468', '276469']
nosy_count = 4.0
nosy_names = ['SilentGhost', 'docs@python', 'zach.ware', 'Andrew Morozko']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue28155'
versions = ['Python 2.7']

@AndrewMorozko
Copy link
Mannequin Author

AndrewMorozko mannequin commented Sep 14, 2016

In Json module, example titled "Using json.tool from the shell to validate and pretty-print:"
5th line reads:
echo '{1.2:3.4}' | python -mjson.tool
should
echo '{1.2:3.4}' | python -m json.tool

@AndrewMorozko AndrewMorozko mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Sep 14, 2016
@SilentGhost
Copy link
Mannequin

SilentGhost mannequin commented Sep 14, 2016

The space between -m switch and module name is not mandatory as you should be able to see if you run those examples.

@SilentGhost SilentGhost mannequin added the invalid label Sep 14, 2016
@SilentGhost SilentGhost mannequin closed this as completed Sep 14, 2016
@zware
Copy link
Member

zware commented Sep 14, 2016

See 05e8b25379a3, though; it may be worth a backport. Not to 3.3, though; it's docs are not being updated anymore.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
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 type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant