chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8784e17
)
documentation/python: ignore a new useless builtin on 3.11.
author
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 28 Jun 2023 13:14:51 +0000
(15:14 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 28 Jun 2023 14:01:01 +0000
(16:01 +0200)
documentation/python.py
patch
|
blob
|
history
diff --git
a/documentation/python.py
b/documentation/python.py
index ee9fee2d8112e6bb6fc5555d574c310300e75698..00faac6819ef923c9641b74a35d93ab03d6cfbe2 100755
(executable)
--- a/
documentation/python.py
+++ b/
documentation/python.py
@@
-323,6
+323,12
@@
else:
('__sizeof__', "__sizeof__() -> int\nsize of object in memory, in bytes")
})
+# Python 3.11 adds another
+if sys.version_info >= (3, 11):
+ _filtered_builtin_functions.update({
+ ('__getstate__', "Helper for pickle.")
+ })
+
_filtered_builtin_properties = set([
('__weakref__', "list of weak references to the object (if defined)")
])