In the following code there is a statement under the shift function "self.sety(max( 0,min(y,1)))". The purpose of this statement is unclear. Any thoughts on the matter?
Code:
# colormixer
# colormixer
class Mapping: def __init__(self, iterable): self.items_list = [] self.__update(iterable) def update(self, iterable): for item in iterable: self.items_list.append(item) __update = update #private copy of original update () method
class Myclass:
def __init__(self, input)
self.input = input
def function(self, input)
return output
class MySubclass(Myclass)
def function(self, input)
return output
Leave a comment: