Doc: Replace the deprecated highlightlang directive by highlight. (#13377)
authorStéphane Wirtel <stephane@wirtel.be>
Fri, 17 May 2019 09:55:34 +0000 (11:55 +0200)
committerKushal Das <mail@kushaldas.in>
Fri, 17 May 2019 09:55:34 +0000 (15:25 +0530)
highlightlang is deprecated since April 2018 in Sphinx.
See https://github.com/sphinx-doc/sphinx/pull/4845

74 files changed:
Doc/c-api/abstract.rst
Doc/c-api/allocation.rst
Doc/c-api/apiabiversion.rst
Doc/c-api/arg.rst
Doc/c-api/bool.rst
Doc/c-api/buffer.rst
Doc/c-api/bytearray.rst
Doc/c-api/bytes.rst
Doc/c-api/capsule.rst
Doc/c-api/cell.rst
Doc/c-api/code.rst
Doc/c-api/complex.rst
Doc/c-api/concrete.rst
Doc/c-api/contextvars.rst
Doc/c-api/conversion.rst
Doc/c-api/coro.rst
Doc/c-api/datetime.rst
Doc/c-api/descriptor.rst
Doc/c-api/dict.rst
Doc/c-api/exceptions.rst
Doc/c-api/file.rst
Doc/c-api/float.rst
Doc/c-api/function.rst
Doc/c-api/gcsupport.rst
Doc/c-api/gen.rst
Doc/c-api/import.rst
Doc/c-api/init.rst
Doc/c-api/intro.rst
Doc/c-api/iter.rst
Doc/c-api/iterator.rst
Doc/c-api/list.rst
Doc/c-api/long.rst
Doc/c-api/mapping.rst
Doc/c-api/marshal.rst
Doc/c-api/memory.rst
Doc/c-api/memoryview.rst
Doc/c-api/method.rst
Doc/c-api/module.rst
Doc/c-api/none.rst
Doc/c-api/number.rst
Doc/c-api/objbuffer.rst
Doc/c-api/object.rst
Doc/c-api/objimpl.rst
Doc/c-api/refcounting.rst
Doc/c-api/reflection.rst
Doc/c-api/sequence.rst
Doc/c-api/set.rst
Doc/c-api/slice.rst
Doc/c-api/stable.rst
Doc/c-api/structures.rst
Doc/c-api/sys.rst
Doc/c-api/tuple.rst
Doc/c-api/type.rst
Doc/c-api/typeobj.rst
Doc/c-api/unicode.rst
Doc/c-api/utilities.rst
Doc/c-api/veryhigh.rst
Doc/c-api/weakref.rst
Doc/extending/building.rst
Doc/extending/embedding.rst
Doc/extending/extending.rst
Doc/extending/newtypes.rst
Doc/extending/newtypes_tutorial.rst
Doc/extending/windows.rst
Doc/faq/windows.rst
Doc/howto/clinic.rst
Doc/howto/cporting.rst
Doc/install/index.rst
Doc/installing/index.rst
Doc/library/site.rst
Doc/license.rst
Doc/using/cmdline.rst
Doc/using/unix.rst
Doc/using/windows.rst

index ad538811127dfb2e8b6871b38c5bb705c49a04fc..0edd1d5f6240af7d1e547f5e2c5c32a20d19e019 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _abstract:
 
index 25a867f139cc7a387c95bd4936c7d629f0e0e5bd..8e8a92003c5a3ea241c3abcf51e005da6a428f98 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _allocating-objects:
 
index 890a0383931933f241ed705956dcee424b136e4c..b8a8f2ff886219b0a4800ed14f30f0a200a528c6 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _apiabiversion:
 
index b41130ede416e39fd4fe6b68c6b6f15e8dfed9b0..ba9ca5e0d30b9207276b8f703dfba0514299fddc 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _arg-parsing:
 
index a9fb342f7c0f8ea3fc59ec9cfa718867afa41a26..ce8de6e22f44caf19026385b597cdbb1df40f767 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _boolobjects:
 
index c7c1e3cc745ac40555b71ee3e8ae464981243f3d..72d965053cfda3be01b392863f701f492b93daba 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. index::
    single: buffer protocol
index 41b6e3c71be53d560cbf8f8d306ad41912e9d47d..b4a9660a9169e7dcec43e85ebb23a8a2ed32f6f2 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _bytearrayobjects:
 
index 5b9ebf6b6af5f5f28739480425e3354765bcd1c6..9a62fb682d68970f06ebf88f384e499dbaa3abb3 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _bytesobjects:
 
index 8eb6695e22de1892476abe03c70ab7503330d61b..3c921bbde3486f48c1be8a63671a7670f22031f1 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _capsules:
 
index 427259cc24d8d8bc25500309480324eb67160843..8514afe928e7d38b3fff655405567baa99e7303b 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _cell-objects:
 
index 10d89f297c843fbd7d7c3a60b620723cf4215292..27d3f76d7a3dd5218cde00c609cbbc8b744cdd27 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _codeobjects:
 
index fc63b57a85521ce534caf0b78f470667ec69cf14..675bd013e892f5b3e5ca7d3605d5043971f8acd7 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _complexobjects:
 
index 9558a4a583cba53245cf484cc07f2039c331ef96..f83d711795c2c6492a8087458da9c82a9fc6405f 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 
 .. _concrete:
index c344c8d71ae32d81fe788a244c4a5fdd2e0b66a4..a7cde7fb1958a0a597e817c4dd5ed6899607738b 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _contextvarsobjects:
 
index c46722d782a2fb7c44c67eef1a04cf903f313a6f..ed101c791ec743fd2d183ebd730ae3df28d653ed 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _string-conversion:
 
index 2fe50b5d8c4473a191fb6c32147df0e7665f3e5e..50428c7eb43e3d73a9e79c2f7f7fd97c87483909 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _coro-objects:
 
index 77b1b216744bf1482680135fa368776757463fe3..44a04373d1968370826d808301337e39244f7d24 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _datetimeobjects:
 
index c8f6fa5bcd7fc86b7f977adb793332e2677dae13..1005140c7acb3ac8e45928f0b408673564aa7fb1 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _descriptor-objects:
 
index 0ced5a5fd0017028bfd78d580bba616966f739ff..e970771893eb30761a520b589aeddf6ca795448b 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _dictobjects:
 
index 13f0aff1cf99b6321eb1caaf249b7d2bacd84089..00ef00526bc5f8ba82aea2e1867acb92b3b473d7 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 
 .. _exceptionhandling:
index 6f2ecee51fd86a389dae5aa2104cfc0e8ecab289..defc859dd5c478d1b0f875353c5f2506b73a6c27 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _fileobjects:
 
index 27a75e3e0c2eeb8786910774b39638a983453ad4..8a996422ce48f8f5cb865803132e4d952b51e182 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _floatobjects:
 
index 17279c732ae07660b13ee7a67572187c32961fd8..02c4ebdbed4546b2e9ebde2b5dcca815c85acc75 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _function-objects:
 
index b739aacea8d385c67e958c5310e88c15964e50a8..b3f30b2ed9e999df84525a9d075c2981490af06f 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _supporting-cycle-detection:
 
index 1efbae4fcba098486d6c5bed66774e76b68fe716..8d54021c181457be0839c5e6820927adaca167a8 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _gen-objects:
 
index 8cdc256e7c9e0e09c269a7549866a9620c9ef21b..86cc4031610b7dbfb39951a1bf245879e1ee827a 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _importing:
 
index b30649498a92ac412b40d953527d2acf55464cfc..a0ac4d21d1393659a1982468b52300c1577826f1 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 
 .. _initialization:
index 69aef0da04f3bac11b03c24781e8b6c7c0883299..b003bbaeff2f5b2354153aee1e2971ec88b6ba6a 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 
 .. _api-intro:
index 2ba444d1de6d244cebfae5d6e8ea042b05fddeb2..546efb518a7af551412a557f5c1c959adb601e92 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _iterator:
 
index 82cb4eba8ab743a011059f419f9b59a061569272..4d91e4a224fe82c119a450fedba4c36d70d6eb7b 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _iterator-objects:
 
index 5b263a7b1cdf04bfce4a3a78f58c09f9c6628e50..279783a243a108353d73ac08490ce8427a47078a 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _listobjects:
 
index 8093f4b627a2b9b1a2ffa00b8fc3f5d927654cf1..6be29f9cd32eaa16bbd963bb29b1559bbaa46f81 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _longobjects:
 
index e37dec9949ab6892c651abf715da4669eef48394..4244b47af75f1af81625f946d9851abce8dd2a4c 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _mapping:
 
index 17ec621610b5e3aded74939f5fc6ad499830e178..b086830feb14f1c1d4772b105dd236c5c31e97b4 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _marshalling-utils:
 
index 65a207691b8ac8e2bce7b99327f40f24cdac4381..ab49e48782d71abfe86b2a89f830c2e52f5a2bb4 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 
 .. _memory:
index 9f6bfd751ade5ef209d75cd86947c325e24d6661..77afb020405a747f82ccc4eb2ab87c34356a1bf5 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _memoryview-objects:
 
index 7a2a84fe110dcf0d332f30da0cd7275acc9b4e3b..1ad805e269aa2d1ee263565c407d3c7d577514af 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _instancemethod-objects:
 
index 017b656854a8cd1e5231d507597ef3edfddeefbe..68cbda2938f3f0b1e78ecf24100d013117a75461 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _moduleobjects:
 
index 45568fe657b938900d63f1aaa829f9631da9e364..26d2b7aab201baf61c0a85a000b817130d009764 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _noneobject:
 
index 9fb220b192b9a63c9877ab2e2395a1aa9ee9755a..74932f6e7445f055e48f1c84a9cb04123711b96a 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _number:
 
index 3572564b13e9b324704b2dd1885a7b315349fa99..6b82a642d7ee42715b6aea488723f07582301e5d 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 Old Buffer Protocol
 -------------------
index a64ff2e6b58b4cc69d6bfe3ffaebe6a5be3fe8ae..ffc35241e7a4d7185610a04ac936b237686c8702 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _object:
 
index 7023e519eda7b3e6ca5db388b66ce970f76a63bc..8bd8c107c98bdfc67b389b5ba1420aa8768fd9f4 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _newtypes:
 
index 225a1feb2506844af346a4025fd2365d44d7a712..6b07c87d62eded00f6d39116bc19a5b4d79904b4 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 
 .. _countingrefs:
index 96893652f730cc5c3ed09ea3ace1ca5a65f5a755..080ea3222cfbb2202fe4bb0b1109da2f8aaefdf3 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _reflection:
 
index 6d22f35e22b1f23bff1e314de4c870c6eddf6008..d11a2dde54dd9e5a3e09e0162351e630db13dea6 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _sequence:
 
index 64b6dde3b7482eeec947e4b1bb14e3fe22eed266..074fcb877e1da77a9e879072185ec0e1fff39c24 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _setobjects:
 
index 8ad9a29b256ebcedb4569f7299d1118cdb094365..d924308890b8d0d5a1baf750dfa5a8fe7ecb7d4f 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _slice-objects:
 
index 5b771dd4adcefb24207a97e6ab6799c032f7c467..9c05cb3c82dfbe8cc2f2bba24156100b8713aa09 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _stable:
 
index da45da1d3c70dbc57de63e45a9337e2c573faa45..5e0cfd0264f9311719f296b0616e8d912b2141a5 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _common-structs:
 
index c8ea78363dfa51524f542d8f5a0f49ff5c1670b1..04e169a00dc699d7a3ea9dd661836de05daf45ad 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _os:
 
index 20bf9f0b0804cdd4ca96723c726d2f9f2cc2e7f9..259ec4fb48515b129d93b5be6ad87d4aeb8d5c72 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _tupleobjects:
 
index 4dfd53fb9f076fc6a3906b4e840c4c117deb96ab..2474df2c90baad737cd4fc31f4f22808d194585b 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _typeobjects:
 
index 0647a493303d26348bf61e6213afe00cfe271010..b1d96db7f53df0e40cb0c87c0dcd771d062f8393 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _type-structs:
 
index 724c798456f9c5b6e9af0157a15629fedf4b8f8a..a150a9c39d880c74fb25cac8812b91838a96f1b2 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _unicodeobjects:
 
index d4484fb2712817d398879f4bab4a71d56fd8c789..a805b564763c407e0ae83f6b363645001fcac694 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _utilities:
 
index 317093e95615e3af462a833811318820322f417c..a7ff08cfb6bdaa186883ccf7c68023c1c639f6b9 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 
 .. _veryhigh:
index 6cb3e33fe843ac9c4a5d0e9e13d2aaa5b0f7ced3..7a4f8615b9c32b9ad46b2a991247e8dce8b9cd5a 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _weakrefobjects:
 
index 9bfad7fc3187d6273ba9470d9d1d6cb62dd2f2a2..753b5511ed9d6351ca9c6c27661fb961d42a92fc 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _building:
 
@@ -20,7 +20,7 @@ The initialization function has the signature:
 It returns either a fully-initialized module, or a :c:type:`PyModuleDef`
 instance. See :ref:`initializing-modules` for details.
 
-.. highlightlang:: python
+.. highlight:: python
 
 For modules with ASCII-only names, the function must be named
 ``PyInit_<modulename>``, with ``<modulename>`` replaced by the name of the
@@ -43,7 +43,7 @@ function corresponding to the filename is found.
 See the *"Multiple modules in one library"* section in :pep:`489` for details.
 
 
-.. highlightlang:: c
+.. highlight:: c
 
 Building C and C++ Extensions with distutils
 ============================================
index 13d83b72f82ab695d769d1b14e8e50875b1e96c3..483bc852f6c77766409765ac3a58af6329007590 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 
 .. _embedding:
index 433178ab64d8e537437203ef8171c0b6476ee908..e459514b2b58539dc4694b15009497519ca3152c 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 
 .. _extending-intro:
index 8b9549d7e39e2e3fc9078213acdc7e141d260106..308c06705e8d217feb419b1f396b4edef436823a 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _new-types-topics:
 
index b4bf9b9e6f75f826bcc3de48406c3f4d52885002..59c8cc01222b2c547ee139e5d34c04392983fe4e 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _defining-new-types:
 
index 67bdd475aeb610ade97f12ed008f98f890e5b1c4..c7b92c6ea24ca868df1317d0b113d65651b7a86c 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 
 .. _building-on-windows:
index ad97cd0932ac8613fd528c9bf219df079d9969c0..a181086e9ce6271b38f3316471de2417e010e3b9 100644 (file)
@@ -1,6 +1,6 @@
 :tocdepth: 2
 
-.. highlightlang:: none
+.. highlight:: none
 
 .. _windows-faq:
 
index 5b2457a1682bc69780ae42a9ee746845a858ab20..cfd9f2e4075c4aaa36512d585326ecc7810264b8 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 **********************
 Argument Clinic How-To
index b638e32f5d0ecba67fffb760f0effdb3b123358d..ce7700fc5990628ffea8a8fc00745e1ed892f401 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: c
+.. highlight:: c
 
 .. _cporting-howto:
 
index e14232415be6f79375b6a243a509d8e8baa671f7..a91606c0f38e6140e4e6d8855c3d18ed653bc635 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: none
+.. highlight:: none
 
 .. _install-index:
 
index 747b9223b62cb85ecd3f4d7bef4c61cf69338a77..dc44aa64b8e04585725f8fc06a5d48f414de656f 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: none
+.. highlight:: none
 
 .. _installing-index:
 
index dfc40d17944332ff479aef210766924a902c6e55..9e4d402c1f5e703bafbd4593e8ea570c3af452de 100644 (file)
@@ -8,7 +8,7 @@
 
 --------------
 
-.. highlightlang:: none
+.. highlight:: none
 
 **This module is automatically imported during initialization.** The automatic
 import can be suppressed using the interpreter's :option:`-S` option.
index bf2e4c522ce172c024ef7c5e468109fd230a613e..d877f45677549b25ca42b8d769567f3f001890de 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: none
+.. highlight:: none
 
 .. _history-and-license:
 
index 5ae3cc808b34a1454db1926adf1048f944520860..87af7e8be13376f7c934304fad886d609e9579a1 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: sh
+.. highlight:: sh
 
 .. ATTENTION: You probably should update Misc/python.man, too, if you modify
    this file.
index 31cf87c66f5fd85f51ad6b59a1f41a875dc69622..021f0d35a8eea336b5192fb24885aa3dc4bc1ead 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: sh
+.. highlight:: sh
 
 .. _using-on-unix:
 
index 1f8eb16e505482a9759262eb2f37d69dc1ef5621..44b646fddfc4ba462a7faffac726b2e07058b63f 100644 (file)
@@ -1,4 +1,4 @@
-.. highlightlang:: none
+.. highlight:: none
 
 .. _using-on-windows: