mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-13 01:32:32 +03:00
Fix enum population
This commit is contained in:
parent
ceda7b0732
commit
cda2bd01d4
|
@ -26,7 +26,6 @@ IDS = {
|
||||||
|
|
||||||
NAMES = {value: key for key, value in IDS.items()}
|
NAMES = {value: key for key, value in IDS.items()}
|
||||||
|
|
||||||
|
|
||||||
# As of Cython 3.1, the global Python namespace no longer has the enum
|
# As of Cython 3.1, the global Python namespace no longer has the enum
|
||||||
# contents by default.
|
# contents by default.
|
||||||
globals().update(IDS)
|
globals().update(IDS)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user