Collections.py -- any help?

J

Josh English

In my quest to learn more, I've been trying to get the collections.py
module to do anything but look cool. So far, it's only a cool idea.
How do they work? I can't find a tutorial on the web anywhere
explaining how I would use them in my code.

Any clues?

Josh
 
J

Josh English

Sorry, I was referring to the abstract base classes defined there...

mea culpa. I didn't get out of my head while posting.

Josh
 
T

Terry Reedy

Josh said:
Sorry, I was referring to the abstract base classes defined there...

ABCs are new in 3.0. I have not used them, have no immediate plans to
do so, and consider them a somewhat advanced feature. I suggest that
you find the PEP 3### that gives their rationale and intended use.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,292
Messages
2,571,494
Members
48,178
Latest member
SusanaHam4

Latest Threads

Top