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

doc: replace deprecated defer.returnValue() with return #102

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

gudnimg
Copy link
Contributor

@gudnimg gudnimg commented Aug 4, 2024

Fixes #99

defer.returnValue() was required to maintain compatability with Python 2. But today twisted and txdbus only support Python 3. On Python 3, defer.returnValue() can be replaced with a standard return.

defer.returnValue() was deprecated in Twisted 24.7.0

`defer.returnValue()` was required to maintain compatability with Python 2. But today twisted and txdbus
only support Python 3. On Python 3, `defer.returnValue()` can be replaced with a standard `return`.

`defer.returnValue()` was deprecated in Twisted 24.7.0
@gudnimg gudnimg changed the title doc: update documentation to replace deprecated defer.returnValue() with return doc: replace deprecated defer.returnValue() with return Aug 5, 2024
@cocagne cocagne merged commit 7db005d into cocagne:master Aug 7, 2024
2 checks passed
@cocagne
Copy link
Owner

cocagne commented Aug 7, 2024

thanks for the pull request.

@gudnimg gudnimg deleted the defer-returnvalue-update branch August 7, 2024 21:47
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.

defer.returnValue() is deprecated in twisted 24.7.0
3 participants