Implement Section.__hash__() to avoid Python 2’s DeprecationWarning