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

Do not require a "self" argument to deprecated functions #1

Merged

Conversation

Projects
None yet
2 participants
@mesozoic
Copy link
Contributor

mesozoic commented Aug 20, 2014

Calling a deprecated function which takes no arguments will raise the following exception:

TypeError: deprecated_method() takes at least 1 argument (0 given)

It looks as if a few stray selfs were left over from a past refactoring. This branch fixes it and updates the test suite accordingly.

tseaver added a commit that referenced this pull request Aug 20, 2014

Merge pull request #1 from aclevy/deprecated-method-without-args
Do not require a "self" argument to deprecated functions

@tseaver tseaver merged commit 98bad25 into zopefoundation:master Aug 20, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details
@tseaver

This comment has been minimized.

Copy link
Member

tseaver commented Aug 20, 2014

Thanks!

@mesozoic mesozoic deleted the mesozoic:deprecated-method-without-args branch Nov 10, 2014

tseaver added a commit that referenced this pull request Jan 13, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.