2e reviewed manuscript
This commit is contained in:
@@ -5,6 +5,7 @@ import httpx # make httpx classes available to .__subclasses__()
|
||||
|
||||
def tree(cls, level=0, last_sibling=True):
|
||||
yield cls, level, last_sibling
|
||||
|
||||
# get RuntimeError and exceptions defined in httpx
|
||||
subclasses = [sub for sub in cls.__subclasses__()
|
||||
if sub is RuntimeError or sub.__module__ == 'httpx']
|
||||
|
||||
Reference in New Issue
Block a user