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

Override Bot.__deepcopy__ #3446

Merged
merged 3 commits into from Dec 30, 2022
Merged

Override Bot.__deepcopy__ #3446

merged 3 commits into from Dec 30, 2022

Conversation

Bibo-Joshi
Copy link
Member

Closes #3445. Also documents __reduce__ and __deepcopy__ in the style we used for TelegramObject

Checklist for PRs

  • Added .. versionadded:: version, .. versionchanged:: version or .. deprecated:: version to the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)
  • Created new or adapted existing unit tests
  • Documented code changes according to the CSI standard
  • [ ] Added myself alphabetically to AUTHORS.rst (optional)
  • [ ] Added new classes & modules to the docs and all suitable __all__ s

@Bibo-Joshi Bibo-Joshi merged commit 0a67258 into master Dec 30, 2022
@Bibo-Joshi Bibo-Joshi deleted the bot-deepcopy branch December 30, 2022 09:50
@harshil21 harshil21 modified the milestones: v21.0, v20.0 Jan 2, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deepcopying telegram.Bot should raise a clear exception
3 participants