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

bpo-34451: Document prompt and output toggle feature in html tutorial #27105

Merged
merged 2 commits into from
Oct 21, 2021

Conversation

thmsdnnr
Copy link
Contributor

@thmsdnnr thmsdnnr commented Jul 12, 2021

This PR addresses https://bugs.python.org/issue34451. I followed Raymond's comment to display the note only in the HTML version of the documentation using the Sphinx .. only:: directive. I confirmed the new text appears in the make html output but is absent from the output of make text.

The first place that the >>> feature appears in the Tutorial is in example two of Section 2.1.2 Interactive Mode. However, discussion of the examples in the manual is deferred to the following page https://docs.python.org/3/tutorial/introduction.html, and this was the location referenced in the bpo. There may be a better location to document this feature.

Thank you for taking the time to review this PR.

https://bugs.python.org/issue34451

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Aug 16, 2021
@rhettinger
Copy link
Contributor

The buildbots seem to be wedged. Am closing and then reopening this PR.

@rhettinger rhettinger closed this Sep 21, 2021
@rhettinger rhettinger reopened this Sep 21, 2021
@encukou encukou merged commit 5a14f71 into python:main Oct 21, 2021
@miss-islington
Copy link
Contributor

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

@bedevere-bot
Copy link

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

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Oct 21, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 21, 2021
…pythonGH-27105)

(cherry picked from commit 5a14f71)

Co-authored-by: Thomas <thmsdnnr@gmail.com>
@encukou encukou added the needs backport to 3.9 only security fixes label Oct 21, 2021
@miss-islington
Copy link
Contributor

Thanks @thmsdnnr for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Oct 21, 2021
@bedevere-bot
Copy link

GH-29120 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 21, 2021
…pythonGH-27105)

(cherry picked from commit 5a14f71)

Co-authored-by: Thomas <thmsdnnr@gmail.com>
encukou pushed a commit that referenced this pull request Oct 21, 2021
…GH-27105) (GH-29119)

(cherry picked from commit 5a14f71)

Co-authored-by: Thomas <thmsdnnr@gmail.com>
encukou pushed a commit that referenced this pull request Oct 21, 2021
…GH-27105) (GH-29120)

(cherry picked from commit 5a14f71)

Co-authored-by: Thomas <thmsdnnr@gmail.com>
shihai1991 added a commit to shihai1991/cpython that referenced this pull request Oct 21, 2021
* main: (263 commits)
  bpo-45521: Fix a bug in the obmalloc radix tree code. (pythonGH-29051)
  bpo-45522: Allow to disable freelists on build time (pythonGH-29056)
  bpo-34451: Document prompt and output toggle feature in html tutorial (pythonGH-27105)
  bpo-44019: Add operator.call() to __all__ for the operator module (pythonGH-29110)
  bpo-45315: PyType_FromSpec: Copy spec->name and have the type own the memory for its name (pythonGH-29103)
  bpo-44220: Export PyStructSequence_UnnamedField in the limited API (pythonGH-26331)
  bpo-44174: [Enum] add reference to name mangling (pythonGH-29116)
  bpo-45548: add some missing entries to `Modules/Setup` (pythonGH-29115)
  bpo-35673: Add a public alias for namespace package __loader__ attribute (python#29049)
  bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str (pythonGH-28323)
  bpo-45527: Don't count cache hits, just misses. (pythonGH-29092)
  bpo-45320: Remove long-deprecated inspect methods (pythonGH-28618)
  bpo-41374: Remove obsolete exclusion of netinet/tcp.h on Cygwin (pythonGH-21649)
  bpo-45532: Replace 'default' with 'main' as default in sys.version (pythonGH-29100)
  bpo-45464: [doc] Explain that subclassing multiple exceptions is fragile (pythonGH-29094)
  Cleanup a couple of comments left on PR 28775 post-merge. (pythonGH-29079)
  bpo-45536: Check OpenSSL APIs in configure (pythonGH-29088)
  Add PEPs 593 & 647 to list of PEPs at top of typing docs (pythonGH-29097)
  Add a comment about how to fix bogus test_host_resolution_bad_address failures (python#29085)
  bpo-44525: Specialize simple Python calls. (pythonGH-29033)
  ...
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 stale Stale PR or inactive for long period of time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants