New submission from ניסן בכר <nisan.u...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue39172> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com