Title: attribute named “print” wongly detected as syntax error in Python 3 · Issue #82 · vim-python/python-syntax · GitHub
Open Graph Title: attribute named “print” wongly detected as syntax error in Python 3 · Issue #82 · vim-python/python-syntax
X Title: attribute named “print” wongly detected as syntax error in Python 3 · Issue #82 · vim-python/python-syntax
Description: This line is wrongly detected as a syntax error: elif options.print: But print is an existing attribute of options, and the code works.
Open Graph Description: This line is wrongly detected as a syntax error: elif options.print: But print is an existing attribute of options, and the code works.
X Description: This line is wrongly detected as a syntax error: elif options.print: But print is an existing attribute of options, and the code works.
Opengraph URL: https://github.com/vim-python/python-syntax/issues/82
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"attribute named “print” wongly detected as syntax error in Python 3","articleBody":"This line is wrongly detected as a syntax error:\r\n```\r\nelif options.print:\r\n```\r\nBut `print` is an existing attribute of `options`, and the code works.","author":{"url":"https://github.com/fdik","@type":"Person","name":"fdik"},"datePublished":"2021-03-29T10:26:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/82/python-syntax/issues/82"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:334bc7b2-7c56-bdc3-2834-d7ee94bcd09d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E896:24795C:17E3A0D:213D152:69778146 |
| html-safe-nonce | 2c15e0e099c2a35961453ff86e23ad9c67a57d6d2fe29d4eadd5607ebdba3b9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODk2OjI0Nzk1QzoxN0UzQTBEOjIxM0QxNTI6Njk3NzgxNDYiLCJ2aXNpdG9yX2lkIjoiMzEzMTM3NDU3NzU0ODQ5MzEyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 594e244a5d3ddc11705f304b7954bf380c321b14b711bbd187055ef703dcc702 |
| hovercard-subject-tag | issue:843229279 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vim-python/python-syntax/82/issue_layout |
| twitter:image | https://opengraph.githubassets.com/85db6b514e507ec0b87a778b851205bcad931f7ee82de49ab224241d7e328f1d/vim-python/python-syntax/issues/82 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/85db6b514e507ec0b87a778b851205bcad931f7ee82de49ab224241d7e328f1d/vim-python/python-syntax/issues/82 |
| og:image:alt | This line is wrongly detected as a syntax error: elif options.print: But print is an existing attribute of options, and the code works. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fdik |
| hostname | github.com |
| expected-hostname | github.com |
| None | fd37f8e74ecc49b700617ea694fa6d7b395b6c9a4b79c59b3014da220462ac69 |
| turbo-cache-control | no-preview |
| go-import | github.com/vim-python/python-syntax git https://github.com/vim-python/python-syntax.git |
| octolytics-dimension-user_id | 25825542 |
| octolytics-dimension-user_login | vim-python |
| octolytics-dimension-repository_id | 82203847 |
| octolytics-dimension-repository_nwo | vim-python/python-syntax |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82203847 |
| octolytics-dimension-repository_network_root_nwo | vim-python/python-syntax |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 37dddf0637fe1f68f5c5d619bd3e03ec27105339 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width