Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite7fed14

Browse files
committed
Re-export existing module docstrings
1 parentc8201ba commite7fed14

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

‎Lib/compression/bz2/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
"""Module re-exporting contents of the bz2 module.
2-
3-
Please refer to the bz2 documentation for this module's contents.
4-
"""
1+
importbz2
2+
__doc__=bz2.__doc__
3+
delbz2
54

65
frombz2import*

‎Lib/compression/gzip/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
"""Module re-exporting contents of the gzip module.
2-
3-
Please refer to the gzip documentation for this module's contents.
4-
"""
1+
importgzip
2+
__doc__=gzip.__doc__
3+
delgzip
54

65
fromgzipimport*

‎Lib/compression/lzma/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
"""Module re-exporting contents of the lzma module.
2-
3-
Please refer to the lzma documentation for this module's contents.
4-
"""
1+
importlzma
2+
__doc__=lzma.__doc__
3+
dellzma
54

65
fromlzmaimport*

‎Lib/compression/zlib/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
"""Module re-exporting contents of the zlib module.
2-
3-
Please refer to the bz2 documentation for this module's contents.
4-
"""
1+
importzlib
2+
__doc__=zlib.__doc__
3+
delzlib
54

65
fromzlibimport*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp