bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-… · python/cpython@184bd82 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 184bd82
authored and
committed
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -866,7 +866,7 @@ field names, the method and attribute names start with an underscore. | ||
866 | 866 | .. versionchanged:: 3.1 |
867 | 867 | Returns an :class:`OrderedDict` instead of a regular :class:`dict`. |
868 | 868 | |
869 | -.. method:: somenamedtuple._replace(kwargs) | |
869 | +.. method:: somenamedtuple._replace(**kwargs) | |
870 | 870 | |
871 | 871 | Return a new instance of the named tuple replacing specified fields with new |
872 | 872 | values:: |