]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-99146 struct module documentation should have more predictable examples...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 22 Nov 2022 18:17:18 +0000 (10:17 -0800)
committerGitHub <noreply@github.com>
Tue, 22 Nov 2022 18:17:18 +0000 (18:17 +0000)
commitfa6cc9e6df6c517c917cb8381c14d37096c06962
tree096921aa3e2c66ce19511f836ae55e69010aba13
parent400d41b8ea73e71ca583daca94da3db06417f210
[3.10] gh-99146 struct module documentation should have more predictable examples/warnings (GH-99141) (GH-99703)

gh-99146 struct module documentation should have more predictable examples/warnings (GH-99141)

* nail down a couple examples to have more predictable output

* update a number of things, but this is really just a stash...

* added an applications section to describe typical uses for native and machine-independent formats

* make sure all format strings use a format prefix character

* responding to comments from @gpshead. Not likely finished yet.

* This got more involved than I expected...

* respond to several PR comments
* a lot of wordsmithing
* try and be more consistent in use of ``x`` vs ``'x'``
* expand examples a bit
* update the "see also" to be more up-to-date
* original examples relied on import * so present all examples as if

* reformat based on @gpshead comment (missed before)

* responding to comments

* missed this

* one more suggested edit

* wordsmithing
(cherry picked from commit 22d91c16bb03c3d87f53b5fee10325b876262a78)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
Doc/library/struct.rst