[CentralOH] What is a 'bucket'?
pybokeh at gmail.com
Tue Nov 25 03:41:46 CET 2014
I think based on those comments embedded in Zed's example functions, a
"bucket" is a slot that holds a value from any type of container or data
structure like a list or tuple or dictionary. At least that is how I
On Mon, Nov 24, 2014 at 8:14 PM, timothy spencer <
smashing_good_show at hotmail.com> wrote:
> Hello everyone. What is a 'bucket'? I think that I may be over-thinking
> this. I know that a dictionary is a list of 'key: value' pairs. Is a bucket
> simply the slot where a pair would go? I am wondering if a bucket is a slot
> where multiple tuples would go. Like if a dictionary is horizontal, then I
> am wondering if a bucket then is a vertical slot that can have lots of
> tuples. Lists within lists.. Then again, perhaps it is just a slot that
> only holds one key:value pair. I am on Zed Shaw's book in EX 39, and his
> description is a little odd.
> Let me know, thanks,
> CentralOH mailing list
> CentralOH at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentralOH