File: mimetools.pyi

package info (click to toggle)
mypy 0.470-complete-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,864 kB
  • ctags: 3,264
  • sloc: python: 21,838; makefile: 18
file content (31 lines) | stat: -rw-r--r-- 904 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Stubs for mimetools (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Any
import rfc822

class Message(rfc822.Message):
    encodingheader = ...  # type: Any
    typeheader = ...  # type: Any
    def __init__(self, fp, seekable=1): ...
    plisttext = ...  # type: Any
    type = ...  # type: Any
    maintype = ...  # type: Any
    subtype = ...  # type: Any
    def parsetype(self): ...
    plist = ...  # type: Any
    def parseplist(self): ...
    def getplist(self): ...
    def getparam(self, name): ...
    def getparamnames(self): ...
    def getencoding(self): ...
    def gettype(self): ...
    def getmaintype(self): ...
    def getsubtype(self): ...

def choose_boundary(): ...
def decode(input, output, encoding): ...
def encode(input, output, encoding): ...
def copyliteral(input, output): ...
def copybinary(input, output): ...