mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
8
stdlib/2.7/email/MIMEText.pyi
Normal file
8
stdlib/2.7/email/MIMEText.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
# Stubs for email.MIMEText (Python 2)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from email.mime.nonmultipart import MIMENonMultipart
|
||||
|
||||
class MIMEText(MIMENonMultipart):
|
||||
def __init__(self, _text, _subtype='', _charset=''): ...
|
||||
0
stdlib/2.7/email/__init__.pyi
Normal file
0
stdlib/2.7/email/__init__.pyi
Normal file
0
stdlib/2.7/email/mime/__init__.pyi
Normal file
0
stdlib/2.7/email/mime/__init__.pyi
Normal file
10
stdlib/2.7/email/mime/base.pyi
Normal file
10
stdlib/2.7/email/mime/base.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
# Stubs for email.mime.base (Python 2)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
# import message
|
||||
|
||||
# TODO
|
||||
#class MIMEBase(message.Message):
|
||||
class MIMEBase:
|
||||
def __init__(self, _maintype, _subtype, **_params): ...
|
||||
8
stdlib/2.7/email/mime/multipart.pyi
Normal file
8
stdlib/2.7/email/mime/multipart.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
# Stubs for email.mime.multipart (Python 2)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from email.mime.base import MIMEBase
|
||||
|
||||
class MIMEMultipart(MIMEBase):
|
||||
def __init__(self, _subtype='', boundary=None, _subparts=None, **_params): ...
|
||||
8
stdlib/2.7/email/mime/nonmultipart.pyi
Normal file
8
stdlib/2.7/email/mime/nonmultipart.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
# Stubs for email.mime.nonmultipart (Python 2)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from email.mime.base import MIMEBase
|
||||
|
||||
class MIMENonMultipart(MIMEBase):
|
||||
def attach(self, payload): ...
|
||||
8
stdlib/2.7/email/mime/text.pyi
Normal file
8
stdlib/2.7/email/mime/text.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
# Stubs for email.mime.text (Python 2)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from email.mime.nonmultipart import MIMENonMultipart
|
||||
|
||||
class MIMEText(MIMENonMultipart):
|
||||
def __init__(self, _text, _subtype='', _charset=''): ...
|
||||
Reference in New Issue
Block a user