cpython/Doc/includes
Barry Warsaw 1fcb39ea64
gh-91520: Rewrite imghdr inlining for clarity and completeness (#91521)
* Rewrite imghdr inlining for clarity and completeness

* Move MIMEImage class back closer to the top of the file since it's the
  important thing.
* Use a decorate to mark a given rule function and simplify the rule function
  names for clarity.
* Copy over all the imghdr test data files into the email package's test data
  directory.  This way when imghdr is actually removed, it won't affect the
  MIMEImage guessing tests.
* Rewrite and extend the MIMEImage tests to test for all supported
  auto-detected MIME image subtypes.
* Remove the now redundant PyBanner048.gif data file.

* See https://github.com/python/cpython/pull/91461#discussion_r850313336

Co-authored-by: Oleg Iarygin <dralife@yandex.ru>

Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
2022-04-14 17:48:59 -07:00
..
sqlite3 gh-69093: Support basic incremental I/O to blobs in `sqlite3` (GH-30680) 2022-04-14 17:02:56 -07:00
custom.c Minor C API documentation improvements. (GH-17696) 2019-12-24 22:25:56 -06:00
custom2.c bpo-26868: Fix example usage of PyModule_AddObject. (#15725) 2019-09-12 13:11:20 +01:00
custom3.c bpo-26868: Fix example usage of PyModule_AddObject. (#15725) 2019-09-12 13:11:20 +01:00
custom4.c bpo-26868: Fix example usage of PyModule_AddObject. (#15725) 2019-09-12 13:11:20 +01:00
dbpickle.py Issue 11929: Minor whitespace clean-ups. 2011-04-26 13:55:55 -07:00
email-alternative.py Update Email library documentation example (GH-3720) 2017-09-24 09:12:53 -07:00
email-dir.py bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162) 2019-11-15 11:03:46 +02:00
email-headers.py #24277: The new email API is no longer provisional. 2016-09-07 21:15:59 -04:00
email-mime.py gh-91520: Rewrite imghdr inlining for clarity and completeness (#91521) 2022-04-14 17:48:59 -07:00
email-read-alternative.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
email-simple.py bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162) 2019-11-15 11:03:46 +02:00
email-unpack.py bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162) 2019-11-15 11:03:46 +02:00
minidom-example.py Update old-style strings to f-strings (GH-30384) 2022-01-04 01:25:56 -08:00
mp_newtype.py Issue #8713: Support alternative start methods in multiprocessing on Unix. 2013-08-14 15:35:41 +01:00
mp_pool.py Issue #8713: Support alternative start methods in multiprocessing on Unix. 2013-08-14 15:35:41 +01:00
mp_workers.py Issue #8713: Support alternative start methods in multiprocessing on Unix. 2013-08-14 15:35:41 +01:00
run-func.c Doc: define PY_SSIZE_T_CLEAN always (GH-12794) 2019-04-13 10:46:21 +09:00
setup.py doc: fix compile error on "shoddy" example extension (GH-215) 2017-02-21 21:51:46 +09:00
sublist.c bpo-26868: Fix example usage of PyModule_AddObject. (#15725) 2019-09-12 13:11:20 +01:00
test.py bpo-33201: Modernize "Extension types" doc (GH-6337) 2018-04-07 18:14:03 +02:00
turtle-star.py
typestruct.h bpo-43908: Document Static Types in the C API (GH-25710) 2021-04-29 10:26:34 +02:00
tzinfo_examples.py Removed unused import from tzinfo_examples.py. (GH-7994) 2018-07-04 21:47:37 -07:00