Title: bpo-35431: Simplify negativity checks in math.comb and math.perm. by mdickinson · Pull Request #13870 · python/cpython · GitHub
Open Graph Title: bpo-35431: Simplify negativity checks in math.comb and math.perm. by mdickinson · Pull Request #13870 · python/cpython
X Title: bpo-35431: Simplify negativity checks in math.comb and math.perm. by mdickinson · Pull Request #13870 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Minor code readability improvement: move the negativity checks for k < 0 in math.comb and math.perm up nearer the top of the functions. https://bugs.python.org/issue35431
X Description: Minor code readability improvement: move the negativity checks for k < 0 in math.comb and math.perm up nearer the top of the functions. https://bugs.python.org/issue35431
Opengraph URL: https://github.com/python/cpython/pull/13870
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:3094c83e-7efa-df1e-e054-e43a57f80720 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B8DE:27A3BF:2D61479:3DD2DA2:6A5456CC |
| html-safe-nonce | dbb91fe218440cb36f179cda9c892c581d4bd923caee6750965228e28bbd3c6c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOERFOjI3QTNCRjoyRDYxNDc5OjNERDJEQTI6NkE1NDU2Q0MiLCJ2aXNpdG9yX2lkIjoiNzQ2NDgyNTE0OTkwMjMxMzE2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 93f9d026d6bc28fd08d03509327d7d8499be38042b1bd1e4d0b6d7b4438f5c74 |
| hovercard-subject-tag | pull_request:285921858 |
| 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/cpython/pull/13870/commits |
| twitter:image | https://opengraph.githubassets.com/5b069e858815bc75fc8272be0ed67009065e3b052f9d140955f6ccd9b10c3430/python/cpython/pull/13870 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b069e858815bc75fc8272be0ed67009065e3b052f9d140955f6ccd9b10c3430/python/cpython/pull/13870 |
| og:image:alt | Minor code readability improvement: move the negativity checks for k < 0 in math.comb and math.perm up nearer the top of the functions. https://bugs.python.org/issue35431 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdickinson |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width