"""Sentinel class for constants with useful reprs"""# Copyright (c) IPython Development Team.# Distributed under the terms of the Modified BSD License.classSentinel(object):def__init__(self,name,module,docstring=None):self.name=nameself.module=moduleifdocstring:self.__doc__=docstringdef__repr__(self):returnstr(self.module)+'.'+self.name