[issue33324] Bug in documentation 3.6: string-methods - str.center

2018-04-21 Thread Alfonso Chavez
Change by Alfonso Chavez : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue33324] Bug in documentation 3.6: string-methods - str.center

2018-04-21 Thread Alfonso Chavez
New submission from Alfonso Chavez : Hi. In https://docs.python.org/3/library/stdtypes.html#string-methods says: str.center(width[, fillchar]) But, I tried in Windows 10 and Ubuntu Server: >>> var = 'Variable de prueba' >>> str.center(50, var) Traceback (most recent call last): File "", line