skeleton/hooks.py.tmpl
author Rémi Cardona <remi.cardona@logilab.fr>
Thu, 24 Apr 2014 12:28:46 +0200
changeset 9780 8e687be43d84
parent 8207 c04676b16c59
permissions -rw-r--r--
Remove redundant __nonzero__ methods From https://docs.python.org/2/reference/datamodel.html#specialnames : When this method is not defined, __len__() is called, if it is defined, and the object is considered true if its result is nonzero. Also helpful for an eventual migration to py3k, as __nonzero__ has been replaced with __bool__, which also defaults to looking at __len__ if undefined.

# -*- coding: utf-8 -*-
# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s specific hooks and operations"""