Skip to content

Instantly share code, notes, and snippets.

@rec
Created July 12, 2020 09:51
Show Gist options
  • Save rec/56e99f5033f88fee120e57bd38798133 to your computer and use it in GitHub Desktop.
Save rec/56e99f5033f88fee120e57bd38798133 to your computer and use it in GitHub Desktop.
import dek
@dek
def print_before(pfunc, label='label'):
print(label, pfunc)
return pfunc()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment