Jim Jewett <jimjjew...@gmail.com> added the comment: Just saw this on the checkins list; where are the other options documented?
""" PyDoc_STRVAR(compressobj__doc__, -"compressobj([level]) -- Return a compressor object.\n" +"compressobj([level[, method[, wbits[, memlevel[, strategy[, zdict]]]]]])\n" +" -- Return a compressor object.\n" "\n" -"Optional arg level is the compression level, in 1-9."); +"Optional arg level is the compression level, in 1-9.\n" +"\n" +"Optional arg zdict is the predefined compression dictionary - a sequence of\n" +"bytes containing subsequences that are likely to occur in the input data."); """ I'm honestly not certain what they should be, but the following is my best guess: """ PyDoc_STRVAR(compressobj__doc__, "compressobj([level[, method[, wbits[, memlevel[, strategy[, zdict]]]]]])\n" " -- Return a compressor object.\n" "\n" -"Optional arg level is the compression level, in 1-9.\n" +"Optional arg level (1-9) is the compression level.\n" +"Larger numbers take longer, but produce smaller results.\n" "\n" +"Optional arg method is the compression method.\n" +"The only currently supported method is zlib.DEFLATED.\n" +"\n" +"Optional arg wbits determines the window buffer size.\n" +"Normal values are 8 (least memory) to 15 (best compression).\n" +"\n" +"Optional arg memlevel (1-9) controls working memory size.\n" +"Larger numbers use more memory, but produce smaller results more quickly.\n" +"\n" +"Optional arg strategy tunes the compression algorithm.\n" +"Supported options include zlib.Z_DEFAULT_STRATEGY, zlib.Z_FILTERED, and zlib.Z_HUFFMAN_ONLY.\n" +"\n" +"Optional arg zdict is the predefined compression dictionary - a sequence of\n" +"bytes containing subsequences that are likely to occur in the input data."); """ ---------- nosy: +Jim.Jewett _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14684> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com