HyukjinKwon commented on a change in pull request #34374: URL: https://github.com/apache/spark/pull/34374#discussion_r741592512
########## File path: python/pyspark/rdd.pyi ########## @@ -60,6 +60,7 @@ from pyspark.sql._typing import RowLike from py4j.java_gateway import JavaObject # type: ignore[import] T = TypeVar("T") +T_ = TypeVar("T_", covariant=True) Review comment: Not sure the name `T_` is commonly used though - haven't checked other references. Otherwise LGTM -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org