Title: Update type comparison by Avasam · Pull Request #246 · python-xlib/python-xlib · GitHub
Open Graph Title: Update type comparison by Avasam · Pull Request #246 · python-xlib/python-xlib
X Title: Update type comparison by Avasam · Pull Request #246 · python-xlib/python-xlib
Description: XLib in pure Python (Py2/Py3 compatible). Contribute to python-xlib/python-xlib development by creating an account on GitHub.
Open Graph Description: Updated type comparison to ones that are more idiomatic and understood by type-checkers getattr instead of hasattr when applicable isinstance(x) instead of type(x) == is None instead of == None ...
X Description: Updated type comparison to ones that are more idiomatic and understood by type-checkers getattr instead of hasattr when applicable isinstance(x) instead of type(x) == is None instead of == None ...
Opengraph URL: https://github.com/python-xlib/python-xlib/pull/246
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:87440f5f-9ce9-d32e-8664-de0f7c109c90 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A93C:3651F6:31CCA7F:41772C7:696B8977 |
| html-safe-nonce | fd68a559b757f5ae75e7ef48e6b32af03cca54b3ae7fd71933650238779b6e9e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTNDOjM2NTFGNjozMUNDQTdGOjQxNzcyQzc6Njk2Qjg5NzciLCJ2aXNpdG9yX2lkIjoiMzk0MjQ0ODc2NDUwMzY4OTU5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 96d90ed838b380f2ada2b8ff21d126435eca2db1462e9f51b1a8ef80f9043e37 |
| hovercard-subject-tag | pull_request:1125253773 |
| 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/python-xlib/python-xlib/pull/246/commits |
| twitter:image | https://opengraph.githubassets.com/0f42582c2dfa05ef54f4fa1c85ed9525b50b02c7bf8e12295c8491f8f5239f36/python-xlib/python-xlib/pull/246 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0f42582c2dfa05ef54f4fa1c85ed9525b50b02c7bf8e12295c8491f8f5239f36/python-xlib/python-xlib/pull/246 |
| og:image:alt | Updated type comparison to ones that are more idiomatic and understood by type-checkers getattr instead of hasattr when applicable isinstance(x) instead of type(x) == is None instead of == None ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Avasam |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-cache |
| go-import | github.com/python-xlib/python-xlib git https://github.com/python-xlib/python-xlib.git |
| octolytics-dimension-user_id | 16151530 |
| octolytics-dimension-user_login | python-xlib |
| octolytics-dimension-repository_id | 47391866 |
| octolytics-dimension-repository_nwo | python-xlib/python-xlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 47391866 |
| octolytics-dimension-repository_network_root_nwo | python-xlib/python-xlib |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width