Skip to content

Commit 9a35038

Browse files
authored
Merge pull request #401 from mxr/patch-1
Add another README example for "non-whitespace non-comment lines will be ignored"
2 parents 320a1ba + 739a1ba commit 9a35038

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,15 @@ except ImportError:
129129
pass
130130
```
131131

132+
```python
133+
from typing import TYPE_CHECKING
134+
135+
if TYPE_CHECKING:
136+
# all these imports are after non-whitspace non-comment lines
137+
# and will be ignored (i.e. they will remain out of order)
138+
from collections.abc import Sequence
139+
from collections.abc import Callable
140+
```
132141

133142
```python
134143
import sys

0 commit comments

Comments
 (0)