mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Update pydoc_data to 3.14.5 (#7863)
This commit is contained in:
1 parent
269901060d
commit
6ff0904487
2 files changed
+18
-7
No files matched your search
Vendored
+1
-1
@@ -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 = {
|
||||
|
||||
Vendored
+17
-6
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user