Skip to content

str and unicode format functions take objects#3068

Merged
srittau merged 2 commits intopython:masterfrom
Jadiker:patch-1
Jun 17, 2019
Merged

str and unicode format functions take objects#3068
srittau merged 2 commits intopython:masterfrom
Jadiker:patch-1

Conversation

@Jadiker
Copy link
Contributor

@Jadiker Jadiker commented Jun 17, 2019

Setting str.format and unicode.format to take object as their type instead of Any, as per https://stackoverflow.com/a/56634957

Setting str.format and unicode.format to take `object` as their type instead of `Any`, as per https://stackoverflow.com/a/56634957
Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@srittau
Copy link
Collaborator

srittau commented Jun 17, 2019

stdlib/2and3/builtins.pyi needs to be copied to stdlib/2/__builtin__.pyi.

@srittau srittau merged commit 5447ff6 into python:master Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants