mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	fix: use Py36-compatible Portocol
This commit is contained in:
		
							parent
							
								
									9cd17d7962
								
							
						
					
					
						commit
						792b86d333
					
				|  | @ -1,11 +1,12 @@ | |||
| import random | ||||
| import warnings | ||||
| from pathlib import Path | ||||
| from typing import TYPE_CHECKING, Callable, Iterable, List, Optional, Protocol, Union | ||||
| from typing import TYPE_CHECKING, Callable, Iterable, List, Optional, Union | ||||
| 
 | ||||
| import srsly | ||||
| 
 | ||||
| from .. import util | ||||
| from ..compat import Protocol | ||||
| from ..errors import Errors, Warnings | ||||
| from ..tokens import Doc, DocBin | ||||
| from ..vocab import Vocab | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user