]> Savannah Git Hosting - gnulib.git/commitdiff
misc: remove unused code
authorDmitry Selyutin <ghostmansd@gmail.com>
Tue, 3 Jul 2018 20:29:58 +0000 (23:29 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Tue, 3 Jul 2018 20:29:58 +0000 (23:29 +0300)
pygnulib/misc.py

index 83d90404cce86ac127be2debb9c809218f4491fa..2ac96d4c2bdb0a417b5fce627398eaf10403ca5a 100644 (file)
@@ -35,10 +35,6 @@ class Property(property):
         """
         fget = Property.__fget if fget is None else fget
         fset = Property.__fset if fset is None else fset
-        # if not callable(fget):
-        #     raise TypeError("fget: callable expected")
-        # if not callable(fset):
-        #     raise TypeError("fset: callable expected")
         super().__init__(fget=fget, fset=fset, doc=doc)
         self.__check = check
         self.__fget = fget