-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document
markers.default_environment()
- Loading branch information
1 parent
7698237
commit 854c880
Showing
7 changed files
with
66 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
furo | ||
sphinx-toolbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import sys | ||
import typing | ||
|
||
if sys.version_info[:2] >= (3, 8): # pragma: no cover | ||
from typing import Literal, TypedDict | ||
elif typing.TYPE_CHECKING: # pragma: no cover | ||
from typing_extensions import Literal, TypedDict | ||
else: # pragma: no cover | ||
try: | ||
from typing_extensions import Literal, TypedDict | ||
except ImportError: | ||
|
||
class Literal: | ||
def __init_subclass__(*_args, **_kwargs): | ||
pass | ||
|
||
class TypedDict: | ||
def __init_subclass__(*_args, **_kwargs): | ||
pass | ||
|
||
|
||
__all__ = [ | ||
"Literal", | ||
"TypedDict", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters