Title: Change type() into isinstance() by sveinse · Pull Request #357 · canopen-python/canopen · GitHub
Open Graph Title: Change type() into isinstance() by sveinse · Pull Request #357 · canopen-python/canopen
X Title: Change type() into isinstance() by sveinse · Pull Request #357 · canopen-python/canopen
Description: CANopen for Python. Contribute to canopen-python/canopen development by creating an account on GitHub.
Open Graph Description: It is generally preferred to use isinstance() over type() for checking the type of objects. This PR makes some minor cleanups on the use of type().
X Description: It is generally preferred to use isinstance() over type() for checking the type of objects. This PR makes some minor cleanups on the use of type().
Opengraph URL: https://github.com/canopen-python/canopen/pull/357
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b2f732f2-f919-c988-2306-1002595fac49 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C03A:11B080:1180688:120CB2E:6A5DDF87 |
| html-safe-nonce | 739f4d69f914da363a4ec3e5eeb9145a65e3e9ec8cea7918339582f178a92bc5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDNBOjExQjA4MDoxMTgwNjg4OjEyMENCMkU6NkE1RERGODciLCJ2aXNpdG9yX2lkIjoiMzEyODc3NjIzMjg5OTYyMzc1IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | 214d21f8f7283d4502798a7f351c54e34ff8796a7006c9d692f2c97baa608d60 |
| hovercard-subject-tag | pull_request:1290131139 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/canopen-python/canopen/357/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a5a462cd44883ce7cd5b0b5eccb276f89696691ec446bf6e8d68e5ea628c4931/canopen-python/canopen/pull/357 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a5a462cd44883ce7cd5b0b5eccb276f89696691ec446bf6e8d68e5ea628c4931/canopen-python/canopen/pull/357 |
| og:image:alt | It is generally preferred to use isinstance() over type() for checking the type of objects. This PR makes some minor cleanups on the use of type(). |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sveinse |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/canopen-python/canopen git https://github.com/canopen-python/canopen.git |
| octolytics-dimension-user_id | 200581454 |
| octolytics-dimension-user_login | canopen-python |
| octolytics-dimension-repository_id | 68737600 |
| octolytics-dimension-repository_nwo | canopen-python/canopen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 68737600 |
| octolytics-dimension-repository_network_root_nwo | canopen-python/canopen |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width