Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't support method assignment #78

Open
dannyroberts opened this issue Oct 6, 2013 · 0 comments
Open

Doesn't support method assignment #78

dannyroberts opened this issue Oct 6, 2013 · 0 comments
Assignees

Comments

@dannyroberts
Copy link
Member

In a normal class instance, you can override methods directly like instance.save = lambda self, *args, **kwargs: None, which though it isn't awesome style is sometimes a useful hack for inside a test or something.

Currently method assignment is results in an error that isn't one of the accepted types (bool, int, etc.).

@ghost ghost assigned dannyroberts Oct 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant