def end(self):
"""return param corresponding of the end of the path"""
if self.normsubpaths:
return normpathparam(self, len(self)-1, len(self.normsubpaths[-1]))
else:
raise NormpathException("empty path")