Title: bpo-32917: make ConfigParser blank line writing controllable · Pull Request #5846 · python/cpython · GitHub
Open Graph Title: bpo-32917: make ConfigParser blank line writing controllable · Pull Request #5846 · python/cpython
X Title: bpo-32917: make ConfigParser blank line writing controllable · Pull Request #5846 · python/cpython
Description: New arguments trim_final_blankline and blankline_around_sections for configparser.ConfigParser.write If blankline_around_sections is true (the default), a blank line will be inserted after each section. If trim_final_blankline is true, the final blank line after the last section will not be inserted. https://bugs.python.org/issue32917 https://bugs.python.org/issue32917
Open Graph Description: New arguments trim_final_blankline and blankline_around_sections for configparser.ConfigParser.write If blankline_around_sections is true (the default), a blank line will be inserted after each sec...
X Description: New arguments trim_final_blankline and blankline_around_sections for configparser.ConfigParser.write If blankline_around_sections is true (the default), a blank line will be inserted after each sec...
Opengraph URL: https://github.com/python/cpython/pull/5846
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9be2042c-8838-54ad-5691-38cbb2e435e4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C540:16DF74:E3479E:146A3A6:6A58DB81 |
| html-safe-nonce | 63098c7f1429321c51c96d21bb7c033760677942b32d83b67ad889e67b445ca0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTQwOjE2REY3NDpFMzQ3OUU6MTQ2QTNBNjo2QTU4REI4MSIsInZpc2l0b3JfaWQiOiI1OTc0Nzc1OTk4NDg2OTkzNzkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c9724e13c2c9962c4543f98a4a657ca511333757439f39b866c59da0db0e9b12 |
| hovercard-subject-tag | pull_request:171167318 |
| 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/5846/files |
| twitter:image | https://avatars.githubusercontent.com/u/10137?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10137?s=400&v=4 |
| og:image:alt | New arguments trim_final_blankline and blankline_around_sections for configparser.ConfigParser.write If blankline_around_sections is true (the default), a blank line will be inserted after each sec... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width