Skip to content

Commit

Permalink
Merge pull request #1026 from Spl3en/master
Browse files Browse the repository at this point in the history
Fix typos in IR documentation
  • Loading branch information
commial authored Apr 19, 2019
2 parents 6783d8a + ba981ac commit 2d65efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miasm/ir/ir.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ def add_asmblock_to_ircfg(self, block, ircfg, gen_pc_updt=False):
def add_block(self, block, gen_pc_updt=False):
"""
DEPRECATED function
Use add_block instead of add_block
Use add_asmblock_to_ircfg instead of add_block
"""
warnings.warn("""DEPRECATION WARNING
ircfg is now out of IntermediateRepresentation
Expand All @@ -844,7 +844,7 @@ def add_block(self, block, gen_pc_updt=False):
def add_bloc(self, block, gen_pc_updt=False):
"""
DEPRECATED function
Use add_block instead of add_block
Use add_asmblock_to_ircfg instead of add_bloc
"""
self.add_block(block, gen_pc_updt)

Expand Down

0 comments on commit 2d65efa

Please sign in to comment.