Browse Source

formatting

Rodja Trappe 3 năm trước cách đây
mục cha
commit
0d17f2f50f
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      nicegui/binding.py

+ 0 - 5
nicegui/binding.py

@@ -49,17 +49,12 @@ def bind_from(self_obj, self_name, other_obj, other_name, backward):
 class BindableProperty:
 
     def __set_name__(self, _, name):
-
         self.name = name
 
     def __get__(self, owner, _=None):
-
         return getattr(owner, '_' + self.name)
 
     def __set__(self, owner, value):
-
         setattr(owner, '_' + self.name, value)
-
         bindable_properties.add((id(owner), self.name))
-
         propagate(owner, self.name)