--- /dev/null
+# Stubs for email.header (Python 3.4)\r
+\r
+from typing import Union, Optional, Any, List, Tuple\r
+from email.charset import Charset\r
+\r
+class Header:\r
+ def __init__(self, s: Union[bytes, str, None] = ...,\r
+ charset: Union[Charset, str, None] = ...,\r
+ maxlinelen: Optional[int] = ...,\r
+ header_name: Optional[str] = ..., continuation_ws: str = ...,\r
+ errors: str = ...) -> None: ...\r
+ def append(self, s: Union[bytes, str],\r
+ charset: Union[Charset, str, None] = ...,\r
+ errors: str = ...) -> None: ...\r
+ def encode(self, splitchars: str = ..., maxlinelen: Optional[int] = ...,\r
+ linesep: str = ...) -> str: ...\r
+ def __str__(self) -> str: ...\r
+ def __eq__(self, other: Any) -> bool: ...\r
+ def __ne__(self, other: Any) -> bool: ...\r
+\r
+def decode_header(header: Union[Header, str]) -> List[Tuple[bytes, Optional[str]]]: ...\r
+def make_header(decoded_seq: List[Tuple[bytes, Optional[str]]],\r
+ maxlinelen: Optional[int] =...,\r
+ header_name: Optional[str] = ...,\r
+ continuation_ws: str = ...) -> Header: ...\r