|
@@ -1,4 +1,12 @@
|
|
|
+import time
|
|
|
+from datetime import datetime
|
|
|
|
|
|
+class Time:
|
|
|
+ def __get__(self, instance, owner_class):
|
|
|
+ print('get access to __get__method')
|
|
|
+ return datetime.now().isoformat()
|
|
|
+
|
|
|
+'''
|
|
|
class Point:
|
|
|
def __init__(self, x, y):
|
|
|
self.x = x
|
|
@@ -19,6 +27,7 @@ class Point:
|
|
|
@y.setter
|
|
|
def y(self, value):
|
|
|
self._y = int(value)
|
|
|
+'''
|
|
|
|
|
|
|
|
|
def main():
|