From 06e5c21a835c0e923506c4ff27929f34e00761c2 Mon Sep 17 00:00:00 2001 From: monster <monster@ydb.tech> Date: Thu, 7 Jul 2022 14:41:37 +0300 Subject: fix ya.make --- contrib/python/ipython/py3/IPython/utils/sentinel.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 contrib/python/ipython/py3/IPython/utils/sentinel.py (limited to 'contrib/python/ipython/py3/IPython/utils/sentinel.py') diff --git a/contrib/python/ipython/py3/IPython/utils/sentinel.py b/contrib/python/ipython/py3/IPython/utils/sentinel.py deleted file mode 100644 index dc57a2591c..0000000000 --- a/contrib/python/ipython/py3/IPython/utils/sentinel.py +++ /dev/null @@ -1,17 +0,0 @@ -"""Sentinel class for constants with useful reprs""" - -# Copyright (c) IPython Development Team. -# Distributed under the terms of the Modified BSD License. - -class Sentinel(object): - - def __init__(self, name, module, docstring=None): - self.name = name - self.module = module - if docstring: - self.__doc__ = docstring - - - def __repr__(self): - return str(self.module)+'.'+self.name - -- cgit v1.2.3