brackets at the end of a method name

Andrea D'Amore anddamNOPSAM+gruppi at brapi.net
Wed Sep 24 09:37:01 EDT 2014


On 2014-09-24 13:30:55 +0000, ast said:

> we have some methods associated with file f
> […]
> f.close()
> f.name

print(type(f.close))
print(type(f.name))

Spot the difference.

-- 
Andrea




More information about the Python-list mailing list