scipy/weave/swig2_spec.py
def _get_swig_runtime_version(self):
        """This method tries to deduce the SWIG runtime version.  If
        the SWIG runtime layout changes, the `SWIG_TypeQuery` function
        will not work properly.
        """
        versions = []
        for key in sys.modules:
            idx = key.find('swig_runtime_data')
            if idx > -1:
                ver = int(key[idx+17:])
                if ver not in versions:
                    versions.append(ver)
        nver = len(versions)
        if nver == 0:
            return 0
        elif nver == 1:
            return versions[0]
        else:
            print("WARNING: Multiple SWIG versions detected.  No version was")
            print("explicitly specified.  Using the highest possible version.")
            return max(versions)
This method tries to deduce the SWIG runtime version.  If
        the SWIG runtime layout changes, the `SWIG_TypeQuery` function
        will not work properly.
        
This method tries to deduce the SWIG runtime version.  If
the SWIG runtime layout changes, the `SWIG_TypeQuery` function
will not work properly.
This method tries to deduce the SWIG runtime version . If the SWIG runtime layout changes the ` SWIG_TypeQuery ` function will not work properly .
def _get_swig_runtime_version(self):
        versions = []
        for key in sys.modules:
            idx = key.find('swig_runtime_data')
            if idx > -1:
                ver = int(key[idx+17:])
                if ver not in versions:
                    versions.append(ver)
        nver = len(versions)
        if nver == 0:
            return 0
        elif nver == 1:
            return versions[0]
        else:
            print("WARNING: Multiple SWIG versions detected.  No version was")
            print("explicitly specified.  Using the highest possible version.")
            return max(versions)
def _get_swig_runtime_version ( self ) : versions = [ ] for key in sys . modules : idx = key . find ( 'swig_runtime_data' ) if idx > - 1 : ver = int ( key [ idx + 17 : ] ) if ver not in versions : versions . append ( ver ) nver = len ( versions ) if nver == 0 : return 0 elif nver == 1 : return versions [ 0 ] else : print ( "WARNING: Multiple SWIG versions detected.  No version was" ) print ( "explicitly specified.  Using the highest possible version." ) return max ( versions )
This method tries to deduce the SWIG runtime version.
This method tries to deduce the SWIG runtime version .
"""This method tries to deduce the SWIG runtime version.  If
        the SWIG runtime layout changes, the `SWIG_TypeQuery` function
        will not work properly.
        """
self