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

Raise warning if calling load() on an instance rather than the class #888

Closed
wants to merge 6 commits into from
Closed

Conversation

aayux
Copy link
Contributor

@aayux aayux commented Sep 26, 2016

Addresses one out of four issues in #692

Makes use of bound functions to differentiate between calls made through self and those made through class.

In reference to one of the four issues raised in [#692](#692)

Introduced `MethodType` binding to detect call by instance rather than class. Refer to this [post](http://stackoverflow.com/q/861055).
@aayux aayux closed this Sep 26, 2016
@aayux
Copy link
Contributor Author

aayux commented Sep 26, 2016

Some errors from my side. Re-opened a new PR.

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

Successfully merging this pull request may close these issues.

1 participant