[issue40326] A string contains an empty string?
Ronie Martinez
report at bugs.python.org
Sun Apr 19 03:14:17 EDT 2020
New submission from Ronie Martinez <ronmarti18 at gmail.com>:
Testing if an empty string is in a given string returns True. Tried only on Python 3.7 but might exists on other versions.
Python 3.7.6 (default, Mar 13 2020, 18:48:35)
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
```
>> "" in "hello"
True
```
----------
components: Interpreter Core
messages: 366757
nosy: roniemartinez
priority: normal
severity: normal
status: open
title: A string contains an empty string?
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40326>
_______________________________________
More information about the Python-bugs-list
mailing list