Title: Docstrings for SetValue and GetErrorText are swapped · Issue #2047 · hardbyte/python-can · GitHub
Open Graph Title: Docstrings for SetValue and GetErrorText are swapped · Issue #2047 · hardbyte/python-can
X Title: Docstrings for SetValue and GetErrorText are swapped · Issue #2047 · hardbyte/python-can
Description: Describe In can/interfaces/pcan/basic.py, the docstrings for SetValue and GetErrorText are swapped: SetValue describes returning an error text, and GetErrorText describes setting a channel value.
Open Graph Description: Describe In can/interfaces/pcan/basic.py, the docstrings for SetValue and GetErrorText are swapped: SetValue describes returning an error text, and GetErrorText describes setting a channel value.
X Description: Describe In can/interfaces/pcan/basic.py, the docstrings for SetValue and GetErrorText are swapped: SetValue describes returning an error text, and GetErrorText describes setting a channel value.
Opengraph URL: https://github.com/hardbyte/python-can/issues/2047
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Docstrings for SetValue and GetErrorText are swapped","articleBody":"### Describe\nIn can/interfaces/pcan/basic.py, the docstrings for SetValue and GetErrorText are swapped: SetValue describes returning an error text, and GetErrorText describes setting a channel value.\n","author":{"url":"https://github.com/iamxtso","@type":"Person","name":"iamxtso"},"datePublished":"2026-04-02T07:43:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2047/python-can/issues/2047"}
| 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:762d4963-f1f8-42cc-2201-cc61bfdb5d20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5E4:D3A0E:6A5CCD:8E6B88:6A5CD196 |
| html-safe-nonce | 45c91dee0196f33c005307a47be782060d2cd9d3c32d9bfcf8849b2a9f7b813e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUU0OkQzQTBFOjZBNUNDRDo4RTZCODg6NkE1Q0QxOTYiLCJ2aXNpdG9yX2lkIjoiNzA0MDg3MTAxNTQ2ODgxNDc0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 309cfc7580545cc61cd3e5a423f751034ae51bd242b5a2ddce0a23fc22676fdc |
| hovercard-subject-tag | issue:4192506150 |
| 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/hardbyte/python-can/2047/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bda4ac14019dea7aa536f346357dd72850f1bedc0c0be15e48d285076acb0fac/hardbyte/python-can/issues/2047 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bda4ac14019dea7aa536f346357dd72850f1bedc0c0be15e48d285076acb0fac/hardbyte/python-can/issues/2047 |
| og:image:alt | Describe In can/interfaces/pcan/basic.py, the docstrings for SetValue and GetErrorText are swapped: SetValue describes returning an error text, and GetErrorText describes setting a channel value. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iamxtso |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/hardbyte/python-can git https://github.com/hardbyte/python-can.git |
| octolytics-dimension-user_id | 855189 |
| octolytics-dimension-user_login | hardbyte |
| octolytics-dimension-repository_id | 69090889 |
| octolytics-dimension-repository_nwo | hardbyte/python-can |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 69090889 |
| octolytics-dimension-repository_network_root_nwo | hardbyte/python-can |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width