If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: github.com/python/cpython/pull/129689/files - [3.13] gh-127833: Docs: Add a .

site address: github.com/python/cpython/pull/129689/files redirected to: github.com/python/cpython/pull/129689/files

site title: [3.13] gh-127833: Docs: Add a `grammar-snippet` directive & replace `productionlist` (GH-127835) by miss-islington · Pull Request #129689 · python/cpython · GitHub

Our opinion (on Saturday 28 November 2026 15:39:19 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=As a first step toward aligning the grammar documentation with Python s actual grammar, this overrides the ReST productionlist directive to: use : instead of the ::= symbol add syntax highlighting for strings (using a Pygments highlighting class) All links and link targets should be preserved. (Unfortunately, this reaches into some Sphinx internals; I don t see a better way to do exactly what Sphinx does.) This also adds a new directive, grammar-snippet, which formats the snippet almost exactly like what s in the source, modulo syntax highlighting and keeping the backtick character to mark links to other rules. This will allow formatting the snippets as in the grammar file (file:///home/encukou/dev/cpython/Doc/build/html/reference/grammar.html). The new directive is applied to two simple rules in toplevel_components.rst (cherry picked from commit 58a4357) Co-authored-by: Petr Viktorin encukou@gmail.com Co-authored-by: Blaise Pabon blaise@gmail.com Co-authored-by: William Ferreira wqferr@gmail.com Co-authored-by: bswck bartoszpiotrslawecki@gmail.com Co-authored-by: Adam Turner 9087854+aa-turner@users.noreply.github.com Issue: gh-127833 📚 Documentation preview 📚: htt????/cpython-previews--129689.org.readthedocs.build/;

Headings (most frequently used words):

gh, navigation, uh, oh, 13, 127833, docs, add, grammar, snippet, directive, replace, productionlist, 127835, 129689, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by, extension,

Text of the page (most frequently used words):
the (34), file (28), line (25), #grammar (22), this (20), from (20), for (20), self (18), github (16), and (16), content (15), sphinx (14), import (14), that (13), snippet (12), text (12), nodes (12), applied (11), productionlist (11), name (11), literal (11), all (10), group (10), show (10), python (10), hidden (9), characters (9), unicode (9), you (8), name_node (8), diff (8), reload (8), suggestion (7), cannot (7), suggestions (7), while (7), code (7), add (7), changes (7), options (7), rule_name (7), directive (7), match (7), open (7), doc (7), sign (7), docs (6), lines (6), true (6), return (6), def (6), group_name (6), node (6), str (6), number (6), bidirectional (6), security (5), comments (5), change (5), commit (5), there (5), rest (5), class (5), with (5), what (5), last_pos (5), string (5), rawsource (5), docutils (5), rst (5), support (5), learn (5), about (5), view (5), expand (5), files (5), loading (5), your (5), can (4), not (4), please (4), pull (4), must (4), paragraph (4), syntax (4), like (4), newline (4), statement (4), case (4), original (4), 219 (4), review (4), more (4), grammar_snippet (4), input (4), 127833 (4), replace (4), copilot (4), community (3), navigation (3), request (3), existing (3), create (3), batch (3), only (3), closed (3), std (3), compatproductionlist (3), app (3), grammarsnippetdirective (3), make_grammar_snippet (3), append (3), name_part (3), colon (3), list (3), use (3), grammarsnippetbase (3), directives (3), which (3), token (3), node_id (3), addnodes (3), matches (3), start (3), classes (3), set (3), apply (3), following (3), any (3), util (3), typing (3), contains (3), may (3), interpreted (3), compiled (3), differently (3), than (3), appears (3), below (3), editor (3), reveals (3), desktop (3), delete (3), edit (3), tools (3), extensions (3), deletions (3), interactive (3), reference (3), toplevel_components (3), conf (3), hide (3), whitespace (3), was (3), error (3), page (3), filter (3), commits (3), 129689 (3), 127835 (3), miss (3), islington (3), account (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), contact (2), status (2), privacy (2), terms (2), footer (2), merge (2), has (2), single (2), one (2), viewing (2), toggle (2), annotations (2), extensionmetadata (2), align_column (2), strip (2), arguments (2), argument (2), first (2), run (2), option_spec (2), final_argument_whitespace (2), optional_arguments (2), required_arguments (2), has_content (2), used (2), blank (2), given (2), option (2), our (2), needs (2), into (2), something (2), similar (2), literal_block (2), text_node (2), domain (2), obj_name (2), state (2), document (2), make_id (2), env (2), prefix (2), domains (2), same (2), does (2), link (2), target (2), literal_strong (2), make_link_target_for_token (2), snippet_string_node (2), single_quoted (2), double_quoted (2), token_xrefs (2), ref_text (2), rule_ref (2), group_dict (2), none (2), items (2), handle (2), grammar_re (2), quotes (2), identifier (2), followed (2), highlight (2), see (2), non (2), empty (2), astext (2), source (2), have (2), sequence (2), sphinxdirective (2), __init__ (2), children (2), attributes (2), type_checking (2), additions (2), down (2), selected (2), split (2), unified (2), failed (2), load (2), retry (2), jump (2), nbsp (2), extension (2), tree (2), issue (2), insights (2), projects (2), actions (2), repository (2), cpython (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, information, manage, cookies, 2026, inc, right, now, check, back, later, queued, multi, pending, reviews, been, marked, resolved, outdated, order, valid, applying, deleted, supported, per, subset, invalid, because, were, made, notes, parallel_write_safe, parallel_read_safe, version, override, add_directive_to_domain, add_directive, setup, else, _colon, partition, max, index, assume, each, align, splitlines, actually, false, much, possible, makes, look, intended, transitional, switch, snippets, currently, ignore, unchanged_required, preceded, most, named, unlike, supports, special, character, backtick, marks, tokens, listing, almost, auto, aligment, instead, gram, but, better, suited, turn, transform, note_object, location, note_implicit_target, ids, avoid, breaking, links, production, cargo, culted, magic, make, raise, valueerror, unhandled, groupdict, end, between, finditer, verbose, backquotes, compile, should, get, around, thus, discards, internal, formatting, references, highlighting, based, plain, when, generating, output, elements, attribute, supposed, block, dict, handling, left, individual, common, functionality, pygments, other, super, inline, noqa, n801, snake_case, fine, application, collections, abc, parsers, __future__, documenting, note, top, level, compound, interactive_input, stmt_list, compound_stmt, mode, parsed, using, situations, file_input, read, form, pyspecific, misc_news, lexers, glossary_search, c_annotations, addition, are, conversations, clear, filters, viewed, types, encukou, feb, 2025, product, 0f80ab2, select, changed, checks, conversation, wants, backport, 58a4357, already, clicking, agree, occasionally, send, related, emails, service, free, its, maintainers, question, project, new, requests, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, collaboration, platform, menu, skip,
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

Verified site has: 60 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
51-55 56-60


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 301 Moved Permanently
Content-Length 0
Location htt????/github.com/python/cpython/pull/129689/files
connection close
HTTP/2 200
date Sat, 28 Nov 2026 15:39:19 GMT
content-type text/html; charset=utf-8
vary X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, X-GitHub-Client-Version, Sec-Fetch-Site,Accept-Encoding, Accept, X-Requested-With
cache-control no-cache
etag W/ d137e061e78d73d91b03594214869ea0
strict-transport-security max-age=31536000; includeSubdomains; preload
x-frame-options deny
x-content-type-options nosniff
x-xss-protection 0
referrer-policy no-referrer-when-downgrade
content-security-policy default-src none ; base-uri self ; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src self uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net productionresultssa1.blob.core.windows.net productionresultssa2.blob.core.windows.net productionresultssa3.blob.core.windows.net productionresultssa4.blob.core.windows.net productionresultssa5.blob.core.windows.net productionresultssa6.blob.core.windows.net productionresultssa7.blob.core.windows.net productionresultssa8.blob.core.windows.net productionresultssa9.blob.core.windows.net productionresultssa10.blob.core.windows.net productionresultssa11.blob.core.windows.net productionresultssa12.blob.core.windows.net productionresultssa13.blob.core.windows.net productionresultssa14.blob.core.windows.net productionresultssa15.blob.core.windows.net productionresultssa16.blob.core.windows.net productionresultssa17.blob.core.windows.net productionresultssa18.blob.core.windows.net productionresultssa19.blob.core.windows.net productionresultssa30.blob.core.windows.net productionresultssa31.blob.core.windows.net productionresultssa32.blob.core.windows.net github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com wss://*.wps.githubcopilot.com wss://production-copilot-host.webpubsub.azure.com wss://production-copilot-host-centralus.webpubsub.azure.com wss://production-copilot-host-centralus-02.webpubsub.azure.com wss://production-copilot-host-westus.webpubsub.azure.com wss://production-copilot-host-westus3.webpubsub.azure.com wss://production-copilot-host-eastasia.webpubsub.azure.com wss://production-copilot-host-austriaeast.webpubsub.azure.com api.github.com/cmc_internal/api/; font-src github.githubassets.com; form-action self github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors none ; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src self data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com user-images.githubusercontent.com private-user-images.githubusercontent.com opengraph.githubassets.com repository-images.githubusercontent.com marketplace-screenshots.githubusercontent.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com explore-feed.github.com *.googleusercontent.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src self ; media-src github.com user-images.githubusercontent.com secured-user-images.githubusercontent.com private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com sha256-6nkh0w49y4npXaU0CPIq0z+XDtPnpaDFECgj6Y9vmx4= ; style-src unsafe-inline github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server github.com
content-encoding gzip
accept-ranges bytes
set-cookie _gh_sess=iKwilhD%2BaT8%2FuYr3mS3LQnx1KnjcXsbdmIcyClSPBKuoJoiAOpFCfyi0Dve7hT4TqRQbIs%2BU3yGOjvArVoKYBsZMj4ODVmK8%2FMLzDGECIWHdPwhZrhJCnCOkKVaTBaBy98Dhe4zTJeU9Fj1BELDAFttmOnAlUW9xRfqabew2cqH9hIww0A0ptzrRCgN4yshKo2rj9c1MGyGGNjKXNynMvGhWl5I%2BhlMEs6xbzeUPe%2Bhu7BikXKgZXvos34xiBFffKZcxi96upY6HNjAVGLzVWQ%3D%3D--DEE6a8PxGdhzKDUD--TOLCctciiCpnjDyw4XR6pw%3D%3D; path=/; HttpOnly; secure; SameSite=Lax
set-cookie _octo=GH1.1.1060235549.1795880358; expires=Sun, 28 Nov 2027 15:39:18 GMT; domain=.github.com; path=/; secure; SameSite=Lax
set-cookie logged_in=no; expires=Sun, 28 Nov 2027 15:39:18 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax
x-github-request-id DD50:1775:9898F10:D89BCD0:6B0AF5A6
x-github-edge-region fra

Meta Tags

title="[3.13] gh-127833: Docs: Add a `grammar-snippet` directive & replace `productionlist` (GH-127835) by miss-islington · Pull Request #129689 · python/cpython · GitHub"
charset="utf-8"
name="react-profiling" content="0" data-turbo-transient="true"
name="react-import-map" content="react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322" data-turbo-track="reload"
name="route-pattern" content="/:user_id/:repository/pull/:id/files(.:format)" data-turbo-transient
name="route-controller" content="pull_requests" data-turbo-transient
name="route-action" content="files" data-turbo-transient
name="fetch-nonce" content="v2:a7a3dc37-e9c8-3e86-8243-f25cd6c5306d"
name="current-catalog-service-hash" content="ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b"
name="request-id" content="DD50:1775:9898F10:D89BCD0:6B0AF5A6" data-pjax-transient="true"
name="html-safe-nonce" content="669f6cb8b438d3355ec11c2a64447703fda02ada3eaa838ebd8506305bac39ee" data-pjax-transient="true"
name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDUwOjE3NzU6OTg5OEYxMDpEODlCQ0QwOjZCMEFGNUE2IiwidmlzaXRvcl9pZCI6IjQ1NTM2NzcwMTA4MDc0ODU4NjIiLCJyZWdpb25fZWRnZSI6ImZyYSIsInJlZ2lvbl9yZW5kZXIiOiJmcmEifQ==" data-pjax-transient="true"
name="visitor-hmac" content="ffc0050e9c0737f4120c11fac24c06bf2903df96be5f4163e1da6164b142d2ab" data-pjax-transient="true"
name="hovercard-subject-tag" content="pull_request:2317873207" data-turbo-transient
name="github-keyboard-shortcuts" content="repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot" data-turbo-transient="true"
name="selected-link" value="repo_pulls" data-turbo-transient
name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I"
name="octolytics-url" content="htt????/collector.github.com/github/collect"
name="analytics-location" content="/<user-name>/<repo-name>/pull_requests/show/files" data-turbo-transient="true"
name="user-login" content=""
name="viewport" content="width=device-width"
name="description" content="As a first step toward aligning the grammar documentation with Python's actual grammar, this overrides the ReST productionlist directive to: use : instead of the ::= symbol add syntax highlighting for strings (using a Pygments highlighting class) All links and link targets should be preserved. (Unfortunately, this reaches into some Sphinx internals; I don't see a better way to do exactly what Sphinx does.) This also adds a new directive, grammar-snippet, which formats the snippet almost exactly like what's in the source, modulo syntax highlighting and keeping the backtick character to mark links to other rules. This will allow formatting the snippets as in the grammar file (file:///home/encukou/dev/cpython/Doc/build/html/reference/grammar.html). The new directive is applied to two simple rules in toplevel_components.rst (cherry picked from commit 58a4357) Co-authored-by: Petr Viktorin encukou@gmail.com Co-authored-by: Blaise Pabon blaise@gmail.com Co-authored-by: William Ferreira wqferr@gmail.com Co-authored-by: bswck bartoszpiotrslawecki@gmail.com Co-authored-by: Adam Turner 9087854+aa-turner@users.noreply.github.com Issue: gh-127833 📚 Documentation preview 📚: htt????/cpython-previews--129689.org.readthedocs.build/"
property="fb:app_id" content="1401488693436528"
name="apple-itunes-app" content="app-id=1477376905, app-argument=htt????/github.com/python/cpython/pull/129689/files"
name="twitter:image" content="htt????/avatars.githubusercontent.com/u/31488909?s=400&v=4"
name="twitter:site" content="@github"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="[3.13] gh-127833: Docs: Add a `grammar-snippet` directive & replace `productionlist` (GH-127835) by miss-islington · Pull Request #129689 · python/cpython"
name="twitter:description" content="As a first step toward aligning the grammar documentation with Python&amp;#39;s actual grammar, this overrides the ReST productionlist directive to: use : instead of the ::= symbol add syntax high..."
property="og:image" content="htt????/avatars.githubusercontent.com/u/31488909?s=400&v=4"
property="og:image:alt" content="As a first step toward aligning the grammar documentation with Python&#39;s actual grammar, this overrides the ReST productionlist directive to: use : instead of the ::= symbol add syntax highligh..."
property="og:site_name" content="GitHub"
property="og:type" content="object"
property="og:title" content="[3.13] gh-127833: Docs: Add a `grammar-snippet` directive & replace `productionlist` (GH-127835) by miss-islington · Pull Request #129689 · python/cpython"
property="og:url" content="htt????/github.com/python/cpython/pull/129689"
property="og:description" content="As a first step toward aligning the grammar documentation with Python&#39;s actual grammar, this overrides the ReST productionlist directive to: use : instead of the ::= symbol add syntax highligh..."
name="hostname" content="github.com"
name="expected-hostname" content="github.com"
http-equiv="x-pjax-version" content="2f26b7b04774dd0cee682313db3d734dc0f103a6fecc57eb6c3ee9f6bdf420da" data-turbo-track="reload"
http-equiv="x-pjax-csp-version" content="adddfd507de4c4b0b130ff1dbf3c31681ba97e7a45dc69da056946fc5370dfd4" data-turbo-track="reload"
http-equiv="x-pjax-css-version" content="6461f87ecae18a405f89b5f5f023d20a05636d0b2938295d444470acca7728a2" data-turbo-track="reload"
http-equiv="x-pjax-js-version" content="7c47183a73008933468557b28d2500e2ea7619094b9fe68a81910d76811eeb3c" data-turbo-track="reload"
name="turbo-cache-control" content="no-preview" data-turbo-transient=""
name="diff-view" content="unified" data-turbo-transient
name="go-import" content="github.com/python/cpython git htt????/github.com/python/cpython.git"
name="octolytics-dimension-user_id" content="1525981"
name="octolytics-dimension-user_login" content="python"
name="octolytics-dimension-repository_id" content="81598961"
name="octolytics-dimension-repository_nwo" content="python/cpython"
name="octolytics-dimension-repository_public" content="true"
name="octolytics-dimension-repository_is_fork" content="false"
name="octolytics-dimension-repository_network_root_id" content="81598961"
name="octolytics-dimension-repository_network_root_nwo" content="python/cpython"
name="robots" content="noindex, nofollow"
name="turbo-body-classes" content="logged-out env-production page-responsive full-width"
name="disable-turbo" content="true"
name="browser-stats-url" content="htt????/api.github.com/_private/browser/stats"
name="browser-errors-url" content="htt????/api.github.com/_private/browser/errors"
name="release" content="206ca5e2e4c7feca284ad1771fa08530fd32785c" data-turbo-track="reload"
name="ui-target" content="full"
name="theme-color" content="#1e2327"
name="color-scheme" content="light dark"

Load Info

page size56143
load time (s)1.016078
redirect count1
speed download55258
server IP 140.82.121.3
* all occurrences of the string "http://" have been changed to "htt???/"