[CentralOH] What is a 'bucket'?

pybokeh 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
interpret it.

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,
> Tim
> _______________________________________________
> CentralOH mailing list
> CentralOH at python.org
> https://mail.python.org/mailman/listinfo/centraloh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20141124/34ced299/attachment.html>

More information about the CentralOH mailing list