We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcc0d79 commit a952becCopy full SHA for a952bec
1 file changed
progressbar/utils.py
@@ -378,26 +378,30 @@ class AttributeDict(dict):
378
>>> attrs = AttributeDict(spam=123)
379
380
# Reading
381
+
382
>>> attrs['spam']
383
123
384
>>> attrs.spam
385
386
387
# Read after update using attribute
388
389
>>> attrs.spam = 456
390
391
456
392
393
394
395
# Read after update using dict access
396
397
>>> attrs['spam'] = 123
398
399
400
401
402
403
404
405
>>> del attrs.spam
406
407
Traceback (most recent call last):
0 commit comments