2 ms·
Have you had a look at https://docs.python.org/2/library/functools.html#functools.partial https://docs.python.org/2/library/functools.html#functools.p... ? Any
by zo1 11y ago
Have you had a look at https://docs.python.org/2/library/functools.html#functools.partial https://docs.python.org/2/library/functools.html#functools.p... ?
Anywho, do you have a genuine example of where a closure is helpful for you in python? I'm very curious.
- Retra 11y agoI don't understand the question. Your link has examples of closures right in it, so naturally if you're doing anything like that, you'll want them.