2e reviewed manuscript

This commit is contained in:
Luciano Ramalho
2021-11-12 11:33:12 -03:00
parent f5e3cb8ad3
commit 80f7f84274
32 changed files with 323 additions and 156 deletions

View File

@@ -30,8 +30,8 @@ instance attributes, created in each ``LineItem`` instance::
>>> nutmeg = LineItem('Moluccan nutmeg', 8, 13.95)
>>> nutmeg.weight, nutmeg.price # <1>
(8, 13.95)
>>> sorted(vars(nutmeg).items()) # <2>
[('description', 'Moluccan nutmeg'), ('price', 13.95), ('weight', 8)]
>>> nutmeg.__dict__ # <2>
{'description': 'Moluccan nutmeg', 'weight': 8, 'price': 13.95}
# end::LINEITEM_V2_PROP_DEMO[]