Move Python 2-only stubs to @python2 directory (#5660)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2021-06-21 11:28:25 -07:00
1 parent a319ba4604
commit 68dc2d132b
47 files changed
+22 -33

No files matched your search

File renamed without changes.
-2
View File
@@ -1,3 +1 @@
version = "0.1"
python2 = true
python3 = false
@@ -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.
-2
View File
@@ -1,3 +1 @@
version = "0.1"
python2 = true
python3 = false
-2
View File
@@ -1,3 +1 @@
version = "0.1"
python2 = true
python3 = false
File renamed without changes.
-2
View File
@@ -1,3 +1 @@
version = "0.1"
python2 = true
python3 = false
File renamed without changes.
File renamed without changes.
File renamed without changes.
-2
View File
@@ -1,3 +1 @@
version = "0.1"
python2 = true
python3 = false
File renamed without changes.
-2
View File
@@ -1,4 +1,2 @@
version = "0.1"
python2 = true
python3 = false
requires = []
File renamed without changes.
-2
View File
@@ -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.
-2
View File
@@ -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.
-2
View File
@@ -1,3 +1 @@
version = "0.1"
python2 = true
python3 = false