FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

shapely: narrower types for geom_type in BaseGeometry subclasses by hamdanal · Pull Request #15955 · python/typeshed · GitHub

shapely: narrower types for geom_type in BaseGeometry subclasses - #15955

Merged
srittau merged 1 commit into
python:mainfrom
hamdanal:shapely-geom_type
Jun 29, 2026
Merged

shapely: narrower types for geom_type in BaseGeometry subclasses#15955
srittau merged 1 commit into
python:mainfrom
hamdanal:shapely-geom_type

Conversation

Copy link
Copy Markdown
Contributor

This allows better narrowing for if obj.geom_type == ... checks

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

srittau merged commit f7fa13e into python:main Jun 29, 2026
44 checks passed
hamdanal deleted the shapely-geom_type branch July 10, 2026 19:02
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL