mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +08:00
Move Python 2-only stubs to @python2 directory (#5660)
This commit is contained in:
1 parent
a319ba4604
commit
68dc2d132b
47 files changed
+22
-33
No files matched your search
File renamed without changes.
@@ -1,3 +1 @@
|
||||
version = "0.1"
|
||||
python2 = true
|
||||
python3 = false
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
from typing import Any, ContextManager
|
||||
|
||||
from thrift.Thrift import TProcessor # type: ignore
|
||||
TProcessor = Any # actually thrift.Thrift.TProcessor
|
||||
|
||||
fastbinary: Any
|
||||
|
||||
File renamed without changes.
@@ -1,3 +1 @@
|
||||
version = "0.1"
|
||||
python2 = true
|
||||
python3 = false
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,3 +1 @@
|
||||
version = "0.1"
|
||||
python2 = true
|
||||
python3 = false
|
||||
File renamed without changes.
@@ -1,3 +1 @@
|
||||
version = "0.1"
|
||||
python2 = true
|
||||
python3 = false
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,3 +1 @@
|
||||
version = "0.1"
|
||||
python2 = true
|
||||
python3 = false
|
||||
File renamed without changes.
@@ -1,4 +1,2 @@
|
||||
version = "0.1"
|
||||
python2 = true
|
||||
python3 = false
|
||||
requires = []
|
||||
File renamed without changes.
@@ -1,3 +1 @@
|
||||
version = "0.1"
|
||||
python2 = true
|
||||
python3 = false
|
||||
File renamed without changes.
@@ -1,10 +1,11 @@
|
||||
from typing import Any
|
||||
|
||||
import fb303.FacebookService
|
||||
from thrift.Thrift import TProcessor # type: ignore # We don't have thrift stubs in typeshed
|
||||
|
||||
from .ttypes import * # noqa: F403
|
||||
|
||||
TProcessor = Any # actually thrift.Thrift.TProcessor
|
||||
|
||||
class Iface(fb303.FacebookService.Iface):
|
||||
def Log(self, messages): ...
|
||||
|
||||
File renamed without changes.
@@ -1,4 +1,2 @@
|
||||
version = "0.1"
|
||||
python2 = true
|
||||
python3 = false
|
||||
requires = ["types-fb303"]
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,3 +1 @@
|
||||
version = "0.1"
|
||||
python2 = true
|
||||
python3 = false
|
||||
Reference in new issue
Block a user