clarete / forbiddenfruit

Patch built-in python objects

Home Page:https://clarete.li/forbiddenfruit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use reverse with existing attributes

1Mark opened this issue · comments

commented
Beware: reverse() only deletes attributes. If you curse()'d to replace a pre-existing attribute, reverse() won't re-install the existing attribute.

Any workarounds for this?

Save the existing attribute in a variable before cursing, use curse again after reversing to install it? Just a guess from someone passing through.

commented

Save the existing attribute in a variable before cursing, use curse again after reversing to install it? Just a guess from someone passing through.

I tried that and it didn't work. sorry should've been clearer.