Skip to content

doc: prefer to reference by public name when possible #7714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Sep 4, 2020

When a name is exported from pytest, prefer to refer to it by that rather than its _pytest import path. It is shorter and more appropriate in user-facing documentation (although that's not really visible).

Our plan is to expose more names for typing purposes, in which can this could be more comprehensive.

When a name is exported from `pytest`, prefer to refer to it by that
rather than its `_pytest` import path. It is shorter and more
appropriate in user-facing documentation (although that's not really
visible).

Our plan is to expose more names for typing purposes, in which can this
could be more comprehensive.
@nicoddemus nicoddemus merged commit 54f7a87 into pytest-dev:master Sep 4, 2020
@bluetech bluetech deleted the doc-prefer-public branch September 12, 2020 09:59
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