[New-bugs-announce] [issue27017] Python3.5.1: type().startswith()
Ray
report at bugs.python.org
Sat May 14 02:55:40 EDT 2016
New submission from Ray:
This doesn't look like proper functionality
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> type('')
<class 'str'>
>>> type('').startswith('s')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: startswith() takes at least 1 argument (0 given)
>>> type('').startswith('s', 's')
True
----------
components: Windows
messages: 265505
nosy: VertigoRay, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Python3.5.1: type().startswith()
type: behavior
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27017>
_______________________________________
More information about the New-bugs-announce
mailing list