[issue43056] Use of dicts in 4.2 and 4.7 of Python tutorial a bit confusing

2021-02-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: The link to https://docs.python.org/3.9/library/stdtypes.html#typesmapping isn't a forward reference. It is a link to the main docs which is entirely appropriate and likely the only way a beginner would find that section. I concur with Terry that this

[issue43056] Use of dicts in 4.2 and 4.7 of Python tutorial a bit confusing

2021-01-29 Thread Jesse Silverman
Jesse Silverman added the comment: Agreed with the exception that I'd like to review whether the forward reference to dict in the tutorial might be better suited to people working thru the tutorial than the current forward reference to the real docs. I got to take a look at Eric Matthes'

[issue43056] Use of dicts in 4.2 and 4.7 of Python tutorial a bit confusing

2021-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: For 4.2, the point is the '.copy()' versus the 'active_users' copy. I think a real beginner would, or should, ignore any other details not immediately familiar. 4.7.2 Keyword arguments. It is simply a fact that including the full discussion here