mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge branch '2.1.3' into 2.0
This commit is contained in:
commit
bf45fc1dd2
2
setup.py
2
setup.py
@ -47,7 +47,7 @@ extras_require = {
|
|||||||
'html5lib',
|
'html5lib',
|
||||||
'flake8>=3.5.0',
|
'flake8>=3.5.0',
|
||||||
'flake8-import-order',
|
'flake8-import-order',
|
||||||
'mypy>=0.710',
|
'mypy>=0.711',
|
||||||
'docutils-stubs',
|
'docutils-stubs',
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
@ -123,7 +123,7 @@ def isenumattribute(x: Any) -> bool:
|
|||||||
|
|
||||||
def ispartial(obj: Any) -> bool:
|
def ispartial(obj: Any) -> bool:
|
||||||
"""Check if the object is partial."""
|
"""Check if the object is partial."""
|
||||||
return isinstance(obj, (partial, partialmethod)) # type: ignore
|
return isinstance(obj, (partial, partialmethod))
|
||||||
|
|
||||||
|
|
||||||
def isclassmethod(obj: Any) -> bool:
|
def isclassmethod(obj: Any) -> bool:
|
||||||
|
Loading…
Reference in New Issue
Block a user