summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-10-15 22:56:06 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-10-15 22:56:06 +0200
commit319abf4fd04df049997dacf9ee02bee1eac5d193 (patch)
treeadb1afca2b0e46950102aa106b27c64be68e1ba1 /doc/it
parent7a544d5fcfd17536376252963172ea2341236709 (diff)
downloadweechat-319abf4fd04df049997dacf9ee02bee1eac5d193.zip
python: remove support of Python 2.x
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/includes/autogen_api_infos.it.adoc2
-rw-r--r--doc/it/weechat_scripting.it.adoc4
-rw-r--r--doc/it/weechat_user.it.adoc11
3 files changed, 2 insertions, 15 deletions
diff --git a/doc/it/includes/autogen_api_infos.it.adoc b/doc/it/includes/autogen_api_infos.it.adoc
index 4aafd0380..3cbe8daca 100644
--- a/doc/it/includes/autogen_api_infos.it.adoc
+++ b/doc/it/includes/autogen_api_infos.it.adoc
@@ -60,8 +60,6 @@
| php | php_version | version of the interpreter used | -
-| python | python2_bin | path to Python 2.x interpreter (*deprecated* since version 2.6, scripts must use Python 3 only) | -
-
| python | python_eval | evaluation of source code | source code to execute
| python | python_interpreter | name of the interpreter used | -
diff --git a/doc/it/weechat_scripting.it.adoc b/doc/it/weechat_scripting.it.adoc
index 44bed235c..c31bffdf6 100644
--- a/doc/it/weechat_scripting.it.adoc
+++ b/doc/it/weechat_scripting.it.adoc
@@ -147,10 +147,6 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|===
-In Python 2, which is now deprecated and should not be used any more, the
-strings sent to callbacks are always of type `str`, and may contain invalid
-UTF-8 data, in the cases mentioned above.
-
[[language_perl]]
==== Perl
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc
index b28e8e913..f8edbe73e 100644
--- a/doc/it/weechat_user.it.adoc
+++ b/doc/it/weechat_user.it.adoc
@@ -197,7 +197,7 @@ WeeChat:
| gettext | | Internazionalizzazione (traduzione dei messaggi; la lingua base è l'inglese).
| ca-certificates | | Certificati per le connessioni SSL.
| libaspell-dev / libenchant-dev | | Plugin spell.
-| python3-dev ^(2)^ | | Plugin python.
+| python3-dev | ≥ 3.0 | Plugin python.
| libperl-dev | | Plugin perl.
| ruby2.7, ruby2.7-dev | ≥ 1.9.1 | Plugin ruby.
| liblua5.4-dev | | Plugin lua.
@@ -222,10 +222,7 @@ WeeChat:
[NOTE]
// TRANSLATION MISSING
^(1)^ Name comes from the Debian GNU/Linux Bullseye distribution, version and
-name can be different in other distributions. +
-// TRANSLATION MISSING
-^(2)^ By default Python 3.x is used. If you enable option `+ENABLE_PYTHON2+` (see
-below), only the version 2.7 of Python is recommended.
+name can be different in other distributions.
// TRANSLATION MISSING
If you are using a Debian/Ubuntu based distribution, and if you have some
@@ -346,10 +343,6 @@ List of commonly used options:
| ENABLE_PYTHON | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Python plugin>>.
-// TRANSLATION MISSING
-| ENABLE_PYTHON2 | `ON`, `OFF` | OFF
-| Compile <<scripting_plugins,Python plugin>> using Python 2 instead of Python 3.
-
| ENABLE_RELAY | `ON`, `OFF` | ON
| Compile <<relay,Relay plugin>>.