Skip to content

Conversation

@ceh
Copy link
Contributor

@ceh ceh commented Sep 17, 2018

Fixes #2350

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.

Thank you for the pull request. I left one comment below.


class LoggerAdapter:
logger = ... # type: Logger
extra = ... # type: Mapping[str, Any]
Copy link
Collaborator

Choose a reason for hiding this comment

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

For new code we prefer PEP 526 variable annotation syntax, e.g.extra: Mapping[str, Any].

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@srittau srittau merged commit d70a6cb into python:master Sep 18, 2018
@ceh ceh deleted the fix-2350 branch September 18, 2018 18:42
yedpodtrzitko pushed a commit to yedpodtrzitko/typeshed that referenced this pull request Jan 23, 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