Skip to content

Commit 887fd10

Browse files
authored
add class comment
1 parent 38f7d54 commit 887fd10

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pandas/io/common.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,13 @@ def get_handle(
874874

875875

876876
class _BytesTarFile(tarfile.TarFile, BytesIO):
877+
"""
878+
Wrapper for standard library class TarFile and allow the returned file-like
879+
handle to accept byte strings via `write` method.
880+
881+
BytesIO provides attributes of file-like object and TarFile.addfile writes
882+
bytes strings into a member of the archive.
883+
"""
877884

878885
# GH 17778
879886
def __init__(

0 commit comments

Comments
 (0)