GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Allow `str.replace`'s 'count' to be a keyword argument · Issue #106487 · python/cpython Closed Labels 3.13only security fixesonly security fixestype-featureA feature request or enhancementA feature request or enhancement DescriptionFeature or enhancementAllow the count argument of Pitch
https://docs.python.org/3/library/stdtypes.html#str.replace However, >>> "aaa".replace("a", "b", 2) 'bba' >>> "aaa".replace("a", "b", count=2) TypeError: str.replace() takes no keyword arguments It would be more explicit if the Previous discussionSuggested by @treyhunner at https://mastodon.social/@treyhunner/110664375381530126 Linked PRsReacted by Alex Waygood, Trey Hunner, Jürgen Gmach, Tushar Sadhwani, Will., Charlie Zhao, sunmy2019, Kevin Bowen, Raymond Hettinger, Degubi and 5 more Activity
MetadataMetadataAssigneesLabels3.13only security fixesonly security fixestype-featureA feature request or enhancementA feature request or enhancement ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |