gh-115231: Fill __module__ for built-in staticmethods (#115232) · python/cpython@15c9f24 · GitHub
Skip to content

Commit 15c9f24

Browse files
skirpichevsobolevnvstinner
authored
gh-115231: Fill __module__ for built-in staticmethods (#115232)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 092ef63 commit 15c9f24

3 files changed

Lines changed: 29 additions & 1 deletion

File tree

Lib/test/test_funcattrs.py

Lines changed: 18 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Setup ``__module__`` attribute for built-in static methods. Patch by Sergey
2+
B Kirpichev.

Objects/typeobject.c

Lines changed: 9 additions & 1 deletion

0 commit comments

Comments
 (0)