Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rename MemberContext.builtin_type with named_type - #11224

Merged
JukkaL merged 1 commit into
python:masterfrom
97littleleaf11:rename-membercontext-builtin-type
Oct 1, 2021
Merged

Rename MemberContext.builtin_type with named_type#11224
JukkaL merged 1 commit into
python:masterfrom
97littleleaf11:rename-membercontext-builtin-type

Conversation

@97littleleaf11

Copy link
Copy Markdown
Collaborator

Description

Currently TypeChecker.named_type is been called inside MemberContext.builtin_type thus this PR renames MemberContext.builtin_type with named_type for consistency.

Another reason for this change is that we sometimes call this function for non-builtins.

@JukkaL JukkaL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Makes sense! builtin_type has been deprecated, so this makes things more consistent and clearer.

@JukkaL
JukkaL merged commit bffeb2e into python:master Oct 1, 2021
@97littleleaf11
97littleleaf11 deleted the rename-membercontext-builtin-type branch October 1, 2021 16:18
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.

3 participants