Skip to content

Commit 7858b41

Browse files
gh-106318: Remove an example from str.startswith() method documentation
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
1 parent f2dd414 commit 7858b41

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Doc/library/stdtypes.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2741,8 +2741,6 @@ expression support in the :mod:`re` module).
27412741

27422742
>>> 'Python'.startswith('Py')
27432743
True
2744-
>>> 'a tuple of prefixes'.startswith(('at', 'in'))
2745-
False
27462744
>>> 'a tuple of prefixes'.startswith(('at', 'a'))
27472745
True
27482746
>>> 'Python is amazing'.startswith('is', 7)

0 commit comments

Comments
 (0)