mattharrison / IllustratedPy3

Notes and issues for Illustrated Guide to Python 3
13 stars 5 forks source link

Figure 21.2 #276

Closed mclaughlin closed 7 years ago

mclaughlin commented 7 years ago

An figure illustrating an updated version of a string object. Type has been changed to __class__ , because when you inspect the object, the __class__ attribute points to the class of the object. Note that this class has various methods, this image only shows capitalize , but there are many more. Methods are also objects, as shown in the image.

I'm noticing that the use of "figure" to describe the already labeled figure is a somewhat global convention (as of the Sep30 version). You may have already changed this (in which case I recommend doing so globally), or you might have chosen to keep it (in which case this instance needs to be changed from:

"an" --> "a"

Preferable still (as mentioned in #275):

"An figure illustrating" --> "This illustrates" -or- "An figure illustrating" --> "Illustration of"

mattharrison commented 7 years ago

Oct 2