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

Stop using twisted.internet.defer.returnValue #403

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

cjwatson
Copy link
Contributor

defer.returnValue was only needed in Python 2; in Python 3, a simple return is fine.

twisted.internet.defer.returnValue is deprecated as of Twisted 24.7.0.

`defer.returnValue` was only needed in Python 2; in Python 3, a simple
`return` is fine.

`twisted.internet.defer.returnValue` is deprecated as of Twisted 24.7.0.
@coveralls
Copy link

Coverage Status

coverage: 99.691%. remained the same
when pulling 0c8bb47 on cjwatson:remove-defer-returnValue
into 1e6f661 on meejah:main.

@meejah meejah merged commit 6a7f544 into meejah:main Dec 10, 2024
26 checks passed
@meejah
Copy link
Owner

meejah commented Dec 10, 2024

🎉 thanks!

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.

3 participants