intficpy/parser.py
def locationsDistinct(self, things):
        """
        Check if identically named items can be distinguished by their locations
        Takes a list of items to check
        Returns False if all locations are the same, True otherwise
        """
        locs = [item.location for item in things]
        return not locs.count(locs[1]) == len(locs)

        Check if identically named items can be distinguished by their locations
        Takes a list of items to check
        Returns False if all locations are the same, True otherwise
        
Check if identically named items can be distinguished by their locations
Takes a list of items to check
Returns False if all locations are the same, True otherwise
Check if identically named items can be distinguished by their locations Takes a list of items to check Returns False if all locations are the same True otherwise
def locationsDistinct(self, things):
        locs = [item.location for item in things]
        return not locs.count(locs[1]) == len(locs)
def locationsDistinct ( self , things ) : locs = [ item . location for item in things ] return not locs . count ( locs [ 1 ] ) == len ( locs )
Check if identically named items can be distinguished by their locations
Takes a list of items to check
Returns False if all locations are the same, True otherwise
Check if identically named items can be distinguished by their locations Takes a list of items to check Returns False if all locations are the same True otherwise
"""
        Check if identically named items can be distinguished by their locations
        Takes a list of items to check
        Returns False if all locations are the same, True otherwise
        """
self
things