GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — TypedDict alternative definition syntax with keyword args is confusing · Issue #981 · python/typing Closed python/cpython #31126Labels topic: otherOther topics not coveredOther topics not covered DescriptionOriginally opened in https://bugs.python.org/issue46066. According to the documentation, there are two additional equivalent syntax for TypedDict definition: Point2D = TypedDict('Point2D', x=int, y=int, label=str) Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str}) However, the former one is quite confusing since we have the I think we could just deprecated it and remove it from the doc. Reacted by Alex Waygood, Shantanu, Eric Traut, Mathias Sven, Richard Si and Sergei Lebedev Activity
MetadataMetadataAssigneesLabelstopic: otherOther topics not coveredOther topics not covered ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |