mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-27 03:52:19 +08:00
Move Python 2-only stubs to @python2 directory (#5660)
This commit is contained in:
@@ -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): ...
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
version = "0.1"
|
||||
python2 = true
|
||||
python3 = false
|
||||
requires = ["types-fb303"]
|
||||
|
||||
Reference in New Issue
Block a user