2

As the title suggests, what does @iswrapper decorator do? I see it quite often in the official docs, but can't find any explanation of it.

Biarys
  • 1,065
  • 1
  • 10
  • 22

1 Answers1

3

Just look at the source

# I use this just to visually emphasize it's a wrapper overriden method
def iswrapper(fn):
    return fn

It's convenient when your class is mixed up with some EWrapper methods.

brian
  • 10,619
  • 4
  • 21
  • 79