[issue35765] Document references object x but doesn't show it in the example

2021-05-19 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 5f2afff1ddbf11c8dfa9ddc98fb7a2f2d86eabde by Miss Islington (bot) 
in branch '3.10':
bpo-35765: Clarify references to "object x" in the JSON tutorial (GH-22411) 
(GH-26218)
https://github.com/python/cpython/commit/5f2afff1ddbf11c8dfa9ddc98fb7a2f2d86eabde


--
nosy: +iritkatriel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35765] Document references object x but doesn't show it in the example

2021-05-19 Thread Irit Katriel


Irit Katriel  added the comment:


New changeset 74eb94af2b0ca652d4b6b9b853601a8b8ac7dca1 by Miss Islington (bot) 
in branch '3.9':
bpo-35765: Clarify references to "object x" in the JSON tutorial (GH-22411) 
(GH-26219)
https://github.com/python/cpython/commit/74eb94af2b0ca652d4b6b9b853601a8b8ac7dca1


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35765] Document references object x but doesn't show it in the example

2021-05-19 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35765] Document references object x but doesn't show it in the example

2021-05-18 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 5.0 -> 6.0
pull_requests: +24835
pull_request: https://github.com/python/cpython/pull/26218

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35765] Document references object x but doesn't show it in the example

2021-05-18 Thread miss-islington


Change by miss-islington :


--
pull_requests: +24836
pull_request: https://github.com/python/cpython/pull/26219

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35765] Document references object x but doesn't show it in the example

2021-05-18 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35765] Document references object x but doesn't show it in the example

2020-09-26 Thread Vedran Čačić

Vedran Čačić  added the comment:

I think it would be simpler to just remove the empty name `x`.

"If you have an object, you can ...".

--
nosy: +veky

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35765] Document references object x but doesn't show it in the example

2020-09-25 Thread Zackery Spytz


Change by Zackery Spytz :


--
keywords: +patch
nosy: +ZackerySpytz
nosy_count: 3.0 -> 4.0
pull_requests: +21449
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/22411

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35765] Document references object x but doesn't show it in the example

2019-01-17 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Thanks for the report. I think x here is implied as [1, 'simple', 'list']. Do 
you want to make it explicit with x = [1, 'simple', 'list'] in the code block?

Removing 3.5 since it's in security fixes only mode.

--
nosy: +xtreak
versions: +Python 3.7, Python 3.8 -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35765] Document references object x but doesn't show it in the example

2019-01-17 Thread Patrick Rice


New submission from Patrick Rice :

https://docs.python.org/3.5/tutorial/inputoutput.html

If you have an object x, you can view its JSON string representation with a 
simple line of code:

>>>
>>> import json
>>> json.dumps([1, 'simple', 'list'])
'[1, "simple", "list"]'

--
assignee: docs@python
components: Documentation
messages: 333917
nosy: Patrick Rice, docs@python
priority: normal
severity: normal
status: open
title: Document references object x but doesn't show it in the example
versions: Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com