Skip to content

Stop using twisted.internet.defer.returnValue#413

Merged
cjwatson merged 1 commit intotesting-cabal:masterfrom
cjwatson:remove-defer-returnValue
Dec 10, 2024
Merged

Stop using twisted.internet.defer.returnValue#413
cjwatson merged 1 commit intotesting-cabal:masterfrom
cjwatson:remove-defer-returnValue

Conversation

@cjwatson
Copy link
Copy Markdown
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.
@cjwatson cjwatson merged commit 9961a26 into testing-cabal:master Dec 10, 2024
@cjwatson cjwatson deleted the remove-defer-returnValue branch December 10, 2024 11:32
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.

2 participants