8.2.11.2.37. centerΒΆ

Token.center(width, fillchar=' ', /)

Return a centered string of length width.

Padding is done using the specified fill character (default is a space).