예제 #1
0
 def name(self):
     if self.req is None:
         return None
     return native_str(pkg_resources.safe_name(self.req.name))
예제 #2
0
 def name(self):
     # type: () -> Optional[str]
     if self.req is None:
         return None
     return native_str(pkg_resources.safe_name(self.req.name))
예제 #3
0
 def name(self) -> Optional[str]:
     if self.req is None:
         return None
     return pkg_resources.safe_name(self.req.name)