Skip to content
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

gh-61585: Clarify import scope in modules tutorial #93455

Merged
merged 4 commits into from Jun 28, 2022
Merged

Conversation

slateny
Copy link
Contributor

@slateny slateny commented Jun 3, 2022

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting review labels Jun 3, 2022
Doc/tutorial/modules.rst Outdated Show resolved Hide resolved
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@AA-Turner
Copy link
Member

AA-Turner commented Jun 12, 2022

Should the other four usages of symbol table be adjusted in this PR?

A

@CAM-Gerlach
Copy link
Member

CAM-Gerlach commented Jun 13, 2022

Should the other four usages of symbol table be adjusted in this PR?

That might be a little scope-creepy, but since all the usages in this file are fairly nearby this one, that would avoid any introduced inconsistency, if @slateny is okay with doing so.

If so, then I suggest making the first reference in the previous section a link to the term :term:`Namespace`, and then the move the :term:`namespace` (see :ref:`tut-scopes` for more details). line to the first usage (which describes it in some detail) in this section. That would be a better place to put it anyway, really, since it explicitly introduces the basic concept.

Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Update the wording of the lines to match the new word used, as the old dict wasn't really grammatically appropriate after the change. Otherwise, LGTM, thanks.

Doc/tutorial/modules.rst Outdated Show resolved Hide resolved
Doc/tutorial/modules.rst Outdated Show resolved Hide resolved
Doc/tutorial/modules.rst Outdated Show resolved Hide resolved
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Sorry for the delay—LGTM now from my end, thanks!

@JelleZijlstra JelleZijlstra self-assigned this Jun 25, 2022
@ambv ambv merged commit 4b854b7 into python:main Jun 28, 2022
13 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented Jun 28, 2022

Thanks @slateny for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 28, 2022
)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 4b854b7)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
@bedevere-bot
Copy link

bedevere-bot commented Jun 28, 2022

GH-94373 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 28, 2022
)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 4b854b7)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
@bedevere-bot
Copy link

bedevere-bot commented Jun 28, 2022

GH-94374 is a backport of this pull request to the 3.10 branch.

ambv pushed a commit that referenced this pull request Jun 28, 2022
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
(cherry picked from commit 4b854b7)
ambv pushed a commit that referenced this pull request Jun 28, 2022
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
(cherry picked from commit 4b854b7)
gvanrossum pushed a commit to gvanrossum/cpython that referenced this pull request Jun 30, 2022
)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
@slateny slateny deleted the s/61585 branch Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants