Update pydoc_data to 3.14.5 (#7863)

This commit is contained in:
Shahar Naveh authored and GitHub committed 2026-05-12 20:54:51 +09:00
1 parent 269901060d
commit 6ff0904487
2 files changed
+18 -7

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
# Autogenerated by Sphinx on Tue Apr 7 16:13:12 2026
# Autogenerated by Sphinx on Sun May 10 13:21:26 2026
# as part of the release process.
module_docs = {
+17 -6
View File
@@ -1,4 +1,4 @@
# Autogenerated by Sphinx on Tue Apr 7 16:13:12 2026
# Autogenerated by Sphinx on Sun May 10 13:21:26 2026
# as part of the release process.
topics = {
@@ -6594,8 +6594,9 @@ steps:
1. find a module, loading and initializing it if necessary
2. define a name or names in the local namespace for the scope where
the "import" statement occurs.
2. define a name or names in the current namespace for the scope where
the "import" statement occurs, just as an assignment statement
would (including "global" and "nonlocal" semantics).
When the statement contains multiple clauses (separated by commas) the
two steps are carried out separately for each clause, just as though
@@ -6640,7 +6641,7 @@ The "from" form uses a slightly more complex process:
3. if the attribute is not found, "ImportError" is raised.
4. otherwise, a reference to that value is stored in the local
4. otherwise, a reference to that value is stored in the current
namespace, using the name in the "as" clause if it is present,
otherwise using the attribute name
@@ -10739,8 +10740,18 @@ str.strip(chars=None, /)
str.swapcase()
Return a copy of the string with uppercase characters converted to
lowercase and vice versa. Note that it is not necessarily true that
"s.swapcase().swapcase() == s".
lowercase and vice versa. For example:
>>> 'Hello World'.swapcase()
'hELLO wORLD'
Note that it is not necessarily true that "s.swapcase().swapcase()
== s". For example:
>>> 'straße'.swapcase().swapcase()
'strasse'
See also "str.lower()" and "str.upper()".
str.title()