Browse Source

Added link to practical example

master
Kashirigi 5 years ago
parent
commit
32d4ddbe80
  1. 3
      Python/Decorators/decoCompleteExample.py

3
Python/Decorators/decoCompleteExample.py

@ -1,4 +1,7 @@ @@ -1,4 +1,7 @@
#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):
'''A basic wrapper that just adds things
'''

Loading…
Cancel
Save