| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:15f26063-2bb9-defa-e876-c1ca253260c9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BFFE:208D69:87B0D7:BC5E76:699752F0 |
| html-safe-nonce | 5269a7eee46a79028de933c3e1f43702192a99f202988e54b02bfb3d563467f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkZFOjIwOEQ2OTo4N0IwRDc6QkM1RTc2OjY5OTc1MkYwIiwidmlzaXRvcl9pZCI6IjM4NTI2NzY0Nzc4MzU4ODU5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 63d1c8462351ac2eb664f577e5d99966850aa7545709c7302efdcd726153c510 |
| hovercard-subject-tag | pull_request:95308454 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378 |
| twitter:image | https://avatars.githubusercontent.com/u/555156?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/555156?s=400&v=4 |
| og:image:alt | PR for #58 and #59.
Finally I figured out how to "embed" other syntax inside a region using syn cluster.
Python keywords, numbers, booleans, and builtins are highlighted inside f-string b... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c2f6b9675e9141deef3eda21e5cb896d461bd4d25aeaeeba804502ef0e8d01f2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/hdima/python-syntax git https://github.com/hdima/python-syntax.git |
| octolytics-dimension-user_id | 160338 |
| octolytics-dimension-user_login | hdima |
| octolytics-dimension-repository_id | 10018894 |
| octolytics-dimension-repository_nwo | hdima/python-syntax |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 10018894 |
| octolytics-dimension-repository_network_root_nwo | hdima/python-syntax |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06ceed63f0d4941788d6c52a00d38ad77b6eaf89 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhdima%2Fpython-syntax%2Fpull%2F60%2Fcommits%2F4f194e77311703837dfcbf39a9ca223344951378 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhdima%2Fpython-syntax%2Fpull%2F60%2Fcommits%2F4f194e77311703837dfcbf39a9ca223344951378 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=hdima%2Fpython-syntax |
| Reload | https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378 |
| Reload | https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378 |
| Reload | https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378 |
|
hdima
| https://github.com/hdima |
| python-syntax | https://github.com/hdima/python-syntax |
|
Notifications
| https://github.com/login?return_to=%2Fhdima%2Fpython-syntax |
|
Fork
106
| https://github.com/login?return_to=%2Fhdima%2Fpython-syntax |
|
Star
362
| https://github.com/login?return_to=%2Fhdima%2Fpython-syntax |
|
Code
| https://github.com/hdima/python-syntax |
|
Issues
14
| https://github.com/hdima/python-syntax/issues |
|
Pull requests
9
| https://github.com/hdima/python-syntax/pulls |
|
Actions
| https://github.com/hdima/python-syntax/actions |
|
Projects
0
| https://github.com/hdima/python-syntax/projects |
|
Wiki
| https://github.com/hdima/python-syntax/wiki |
|
Security
0
| https://github.com/hdima/python-syntax/security |
|
Insights
| https://github.com/hdima/python-syntax/pulse |
|
Code
| https://github.com/hdima/python-syntax |
|
Issues
| https://github.com/hdima/python-syntax/issues |
|
Pull requests
| https://github.com/hdima/python-syntax/pulls |
|
Actions
| https://github.com/hdima/python-syntax/actions |
|
Projects
| https://github.com/hdima/python-syntax/projects |
|
Wiki
| https://github.com/hdima/python-syntax/wiki |
|
Security
| https://github.com/hdima/python-syntax/security |
|
Insights
| https://github.com/hdima/python-syntax/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fhdima%2Fpython-syntax%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fhdima%2Fpython-syntax%2Fissues%2Fnew%2Fchoose |
| achimnol | https://github.com/achimnol |
| hdima:master | https://github.com/hdima/python-syntax/tree/master |
| achimnol:master | https://github.com/achimnol/python-syntax/tree/master |
|
Conversation
11
| https://github.com/hdima/python-syntax/pull/60 |
|
Commits
23
| https://github.com/hdima/python-syntax/pull/60/commits |
|
Checks
0
| https://github.com/hdima/python-syntax/pull/60/checks |
|
Files changed
| https://github.com/hdima/python-syntax/pull/60/files |
| Please reload this page | https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378 |
|
Add support for Python 3.6 f-string literal, underscore in numbers, and Python 3.5 type annotations
| https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378#top |
|
Show all changes
23 commits
| https://github.com/hdima/python-syntax/pull/60/files |
|
84f5cf9
narrow decorator match to exclude matrix multiplication
jhrmnn Jan 13, 2016
| https://github.com/hdima/python-syntax/pull/60/commits/84f5cf9ce6438ac40512a05426d943497921ee96 |
|
ddbd84e
More efficient regex
jhrmnn Jan 18, 2016
| https://github.com/hdima/python-syntax/pull/60/commits/ddbd84e7b8b437bc926ac28850b2ca8068488a93 |
|
60a7b5c
Mark None as Python builtin object along with True and False
Feb 27, 2015
| https://github.com/hdima/python-syntax/pull/60/commits/60a7b5c3d2e23d52175b855a84a91bc8aca58c24 |
|
e07541a
Add support for Python 3.6 f-string literal and underscore in numbers.
achimnol Nov 25, 2016
| https://github.com/hdima/python-syntax/pull/60/commits/e07541aa596f4036c8d1f78b259e2318b88641bc |
|
eb44ea7
Fix pythonNumberError patterns to exclude legitimate identifiers.
achimnol Nov 25, 2016
| https://github.com/hdima/python-syntax/pull/60/commits/eb44ea7304700d4272c0b64990e35744fda0a4b4 |
|
8692c37
Merge "Add support for Python 3.6 f-string literal and underscore in …
lilydjwg Dec 9, 2016
| https://github.com/hdima/python-syntax/pull/60/commits/8692c37f91ab8ec44943eb402e3490aae78fe1c9 |
|
9bd9cbc
Merge "Mark None as Python builtin object along with True and False"
lilydjwg Dec 9, 2016
| https://github.com/hdima/python-syntax/pull/60/commits/9bd9cbca8b31e13fa2b8e2b00110d79d046a84fe |
|
af6a827
Merge "narrow decorator match to exclude matrix multiplication"
lilydjwg Dec 9, 2016
| https://github.com/hdima/python-syntax/pull/60/commits/af6a8275a54d98d8de71202e08a4c2e6167e3edb |
|
738e118
support for async keyword
lilydjwg Dec 9, 2016
| https://github.com/hdima/python-syntax/pull/60/commits/738e118831485a7c564ac2350e7cdafa80fdaecb |
|
67c13cf
Merge remote-tracking branch 'lilydjwg/master'
achimnol Jun 2, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/67c13cffa5886ac5b285e31eee8c168dc814efba |
|
31f669d
Improve builtin-func highlighting
achimnol Jun 2, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/31f669d00d549f8a45c282b063e3be3e333518fa |
|
43f3542
Improve builtin-func and highlight type annotations in func args
achimnol Jun 2, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/43f3542282a86a52d36848965b08aade6b27263e |
|
f544d3c
Fully implement type annotation support
achimnol Jun 2, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/f544d3c90b4eeb2912082fba3f0e5b26e2d29651 |
|
f5284a8
Add default italic style for type annotation
achimnol Jun 2, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/f5284a836c1c9350dcb0e0a1300db58ac47f4cb7 |
|
d47e205
Fix highlighting function return type annotation
achimnol Jun 2, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/d47e205ccdad734422715778da70960bb626ac44 |
|
0e3ba78
Fix lambda and list/slices broken after type annotation support
achimnol Jun 4, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/0e3ba78aad712de2e198a611d06ddeaec938a9ca |
|
260521b
Fix bugs in f-string literals
achimnol Jun 4, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/260521b9380114765021ec15d900f4785c7a55f9 |
|
e257b1d
Final retouch for README and options
achimnol Jun 5, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/e257b1d89ec5e384b24ee0c426bcca3f25a3248e |
|
daf7366
Add support for runtime-resolved type annotations in strings
achimnol Jun 5, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/daf7366c8d48228c8e7bdcd45b2f60f3286baf9d |
|
4f194e7
Fix highlighting dotted names in type annotations.
achimnol Jun 9, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378 |
|
559e3e2
Fix typo-bug in highlights of Python 3 builtin functions.
achimnol Jun 26, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/559e3e2a3fbacfc6f2cd9c412d97644a5069fb20 |
|
ac5499b
Fix highlighting of exec() as builtin function in Python 3
achimnol Jun 26, 2017
| https://github.com/hdima/python-syntax/pull/60/commits/ac5499b832d0e6b9ed64872ffee61a66ab619c89 |
|
0935704
Add support for union operator ("|") in annotation
achimnol Jan 3, 2018
| https://github.com/hdima/python-syntax/pull/60/commits/09357048aced6245f7bd41431b59d761d855d2d0 |
|
Clear filters
| https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378 |
| Please reload this page | https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378 |
| Please reload this page | https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378 |
|
python.vim
| https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378#diff-b27ea89c6d3d3644d78c17cac39eefcfaf2c4c3de6e935610a8b8bc311caaad3 |
|
test.py
| https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378#diff-3665d65394f4f58a56a256ad6dd8621c68118d90fe56a19387e251c19cec2d2e |
|
Prev
| https://github.com/hdima/python-syntax/pull/60/commits/daf7366c8d48228c8e7bdcd45b2f60f3286baf9d |
|
Next
| https://github.com/hdima/python-syntax/pull/60/commits/559e3e2a3fbacfc6f2cd9c412d97644a5069fb20 |
| Please reload this page | https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378 |
|
| https://github.com/achimnol |
| achimnol | https://github.com/hdima/python-syntax/commits?author=achimnol |
| syntax/python.vim | https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378#diff-b27ea89c6d3d3644d78c17cac39eefcfaf2c4c3de6e935610a8b8bc311caaad3 |
|
View file
| https://github.com/hdima/python-syntax/blob/4f194e77311703837dfcbf39a9ca223344951378/syntax/python.vim |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/hdima/python-syntax/pull/60/commits/{{ revealButtonHref }} |
|
| https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378#diff-b27ea89c6d3d3644d78c17cac39eefcfaf2c4c3de6e935610a8b8bc311caaad3 |
|
| https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378#diff-b27ea89c6d3d3644d78c17cac39eefcfaf2c4c3de6e935610a8b8bc311caaad3 |
| test.py | https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378#diff-3665d65394f4f58a56a256ad6dd8621c68118d90fe56a19387e251c19cec2d2e |
|
View file
| https://github.com/hdima/python-syntax/blob/4f194e77311703837dfcbf39a9ca223344951378/test.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/hdima/python-syntax/pull/60/commits/{{ revealButtonHref }} |
|
| https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378#diff-3665d65394f4f58a56a256ad6dd8621c68118d90fe56a19387e251c19cec2d2e |
|
| https://github.com/hdima/python-syntax/pull/60/commits/4f194e77311703837dfcbf39a9ca223344951378#diff-3665d65394f4f58a56a256ad6dd8621c68118d90fe56a19387e251c19cec2d2e |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |