|
|
@ -1,4 +1,7 @@ |
|
|
|
#https://www.datacamp.com/community/tutorials/decorators-python |
|
|
|
#https://www.datacamp.com/community/tutorials/decorators-python |
|
|
|
|
|
|
|
#A an example of how this can be actually useful is here: |
|
|
|
|
|
|
|
#https://www.codementor.io/sheena/advanced-use-python-decorators-class-function-du107nxsv |
|
|
|
|
|
|
|
|
|
|
|
def basicdeco(func): |
|
|
|
def basicdeco(func): |
|
|
|
'''A basic wrapper that just adds things |
|
|
|
'''A basic wrapper that just adds things |
|
|
|
''' |
|
|
|
''' |
|
|
|