Changeset 1164 for proto


Ignore:
Timestamp:
Apr 26, 2011, 7:00:56 PM (8 years ago)
Author:
ksherdy
Message:

Capitalize method names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE2PBS/prototype.py

    r1154 r1164  
    3838
    3939
    40 def classify_bytes(basis_bits):
    41         lex = Lex()
     40def Classify_bytes(basis_bits,lex):
    4241
    4342        temp1 = (basis_bits.bit_0 | basis_bits.bit_1)
     
    6867        return lex
    6968
    70 def demo(u8data, lex):
     69def Demo(u8data, lex):
    7170        global lgth
    7271        lgth = len(u8data)
     
    168167        basis_bits.bit_7 = bits[7]
    169168       
    170         lex = classify_bytes(basis_bits)
    171         demo(u8data, lex)
     169        lex = Lex()
     170        Classify_bytes(basis_bits, lex)
     171        Demo(u8data, lex)
Note: See TracChangeset for help on using the changeset viewer.