Did I find the right examples for you? yes no

All Samples(25)  |  Call(25)  |  Derive(0)  |  Import(0)

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Backup/20120727105608/AAAPackageDev/sublime_inspect.py   Chocolatey-Packages(Download)
        if v.lower() in ("false", "true"):
            v = (True if v.lower() == "true" else False)
        elif v.isdigit():
            v = int(v)
        elif v.replace(".", "").isdigit():

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Backup/20120706164234/AAAPackageDev/sublime_inspect.py   Chocolatey-Packages(Download)
        if v.lower() in ("false", "true"):
            v = (True if v.lower() == "true" else False)
        elif v.isdigit():
            v = int(v)
        elif v.replace(".", "").isdigit():

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Backup/20120520162633/AAAPackageDev/sublime_inspect.py   Chocolatey-Packages(Download)
        if v.lower() in ("false", "true"):
            v = (True if v.lower() == "true" else False)
        elif v.isdigit():
            v = int(v)
        elif v.replace(".", "").isdigit():

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Backup/20120331054222/AAAPackageDev/sublime_inspect.py   Chocolatey-Packages(Download)
        if v.lower() in ("false", "true"):
            v = (True if v.lower() == "true" else False)
        elif v.isdigit():
            v = int(v)
        elif v.replace(".", "").isdigit():

src/c/h/Chocolatey-Packages-HEAD/mwrock-TfsDesktop/tools/sublime/Packages/AAAPackageDev/sublime_inspect.py   Chocolatey-Packages(Download)
        if v.lower() in ("false", "true"):
            v = (True if v.lower() == "true" else False)
        elif v.isdigit():
            v = int(v)
        elif v.replace(".", "").isdigit():

src/f/r/freeipa-HEAD/ipalib/config.py   freeipa(Download)
            if value in m:
                value = m[value]
            elif value.isdigit():
                value = int(value)
            elif key in ('basedn'):

src/p/h/phaseshifts-0.1.2-dev/phaseshifts/leed.py   phaseshifts(Download)
            oxidation = str(id_str.split('_')[1])  # assume valence is 2nd
            if (oxidation.startswith('-') or oxidation.startswith('+') 
                or oxidation.isdigit()):
                try:
                    oxidation = float(oxidation)

src/p/a/pattern-2.6/pattern/text/en/inflect_quantify.py   Pattern(Download)
    """
    if isinstance(n, basestring):
        if n.isdigit():
            n = int(n)
        else:

src/p/a/pattern-HEAD/pattern/text/en/inflect_quantify.py   pattern(Download)
    """
    if isinstance(n, basestring):
        if n.isdigit():
            n = int(n)
        else:

src/s/u/SublimeText2-Config-HEAD/Packages/AAAPackageDev/sublime_inspect.py   SublimeText2-Config(Download)
        if v.lower() in ("false", "true"):
            v = (True if v.lower() == "true" else False)
        elif v.isdigit():
            v = int(v)
        elif v.replace(".", "").isdigit():

  1 | 2 | 3  Next