I just realized you can't annotate sentinels in Python. For example, it's impossible to annotate a function that could return sys.monitoring.DISABLE. Seems like a missing piece :(
1
0
11
0
1千
welcome to the club. maybe literal type with reference values support could solve this?
0
0
0
0
75
United States 趋势
- 1. Good Thursday 23.1K posts
- 2. Happy Friday Eve N/A
- 3. #Talus_Labs N/A
- 4. Lakers 81.4K posts
- 5. Luka 71.5K posts
- 6. #thursdayvibes 1,716 posts
- 7. Wemby 27.6K posts
- 8. #LakeShow 5,850 posts
- 9. Marcus Smart 6,460 posts
- 10. #AmphoreusStamp 7,613 posts
- 11. Blazers 9,311 posts
- 12. Russ 11.4K posts
- 13. Unplanned 5,915 posts
- 14. Captain Kangaroo 1,188 posts
- 15. Richard 45.2K posts
- 16. Ayton 17.3K posts
- 17. #ONEPIECE1165 11.3K posts
- 18. Shroud 5,678 posts
- 19. Podz 2,445 posts
- 20. Shabbat 7,014 posts
Loading...
Something went wrong.
Something went wrong.