ramakrishna reddy wrote:
> Can you please explain the functionality of collections.Callable ? If
> possible with a code snippet.
That's a pretty exotic beast that you stumbled upon.
>>> from collections.abc import Callable
You can use it to check if an object is callable, i. e. works like a
fu
On 06/03/17 03:07, ramakrishna reddy wrote:
> Can you please explain the functionality of collections.Callable ? If
> possible with a code snippet.
First of all, do you understand the concept of callable in Python?
Any object that can be used like a function is callable.
You might have a mixed co
Hi,
Can you please explain the functionality of collections.Callable ? If
possible with a code snippet.
I could not find a good explanation on google.
Thanks,
Ram.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
h