[New-bugs-announce] [issue39172] Translation of "string.find('asd', 'sd')" doesn't work

ניסן בכר report at bugs.python.org
Tue Dec 31 08:32:58 EST 2019

New submission from ניסן בכר <nisan.univ at gmail.com>:

When using the following code to run using python 2.x, it works:

import string
string.find("asd", "sd")

But this method is deprecated in python 3.x

When using "2to3" tool to convert, it doesn't convert it successfully.

components: 2to3 (2.x to 3.x conversion tool)
messages: 359115
nosy: ניסן בכר
priority: normal
severity: normal
status: open
title: Translation of "string.find('asd', 'sd')" doesn't work
versions: Python 3.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list