Example #1
0
 def iter_supported_platforms(self):
     # type: () -> Iterator[Platform]
     """All platforms supported by the associated interpreter ordered from most specific to
     least."""
     for tags in self._supported_tags:
         yield Platform.from_tags(platform=tags.platform,
                                  python=tags.interpreter,
                                  abi=tags.abi)
Example #2
0
    def iter_supported_platforms(self):
        """All platforms supported by the associated interpreter ordered from most specific to
        least.

        :rtype: iterator of :class:`Platform`
        """
        for tags in self._supported_tags:
            yield Platform.from_tags(platform=tags.platform,
                                     python=tags.interpreter,
                                     abi=tags.abi)