anomaly
Chris Angelico
rosuav at gmail.com
Tue May 12 11:43:26 EDT 2015
On Wed, May 13, 2015 at 1:34 AM, zipher <dreamingforward at gmail.com> wrote:
> On Tuesday, May 12, 2015 at 8:56:32 AM UTC-5, Steven D'Aprano wrote:
>> * when it comes to built-in functions (e.g. sum, map, pow)
>> and types (e.g. int, str, list) there are significant and
>> important use-cases for allowing shadowing;
>
> Name one "significant and important" use case for shadowing built-in types. Functions, I don't have a problem with, but types are more fundamental than functions.
>
Please tell me what, precisely, is the difference between a type and a
function. Once you've settled that, please explain to me what the
built-in name 'int' is in all versions of Python.
ChrisA
More information about the Python-list
mailing list