engarde-dev / engarde

A library for defensive data analysis.
MIT License
501 stars 40 forks source link

Correct bug in example code #41

Closed topper-123 closed 7 years ago

topper-123 commented 7 years ago

Correct bug in the example code.

TomAugspurger commented 7 years ago

Thanks.

Since writing engarde initially, I've since figured out how to write decorators that will work with either

@deco
def func():
    pass

or

@deco()
def func():
    pass

I'll put that on my todo list.