diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-16 06:50:13 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-16 06:50:13 +0000 |
commit | 10be10cbe72cc0cc0d05b2901f6857fdbb343894 (patch) | |
tree | 187aa5d7ae3a798239453331f1af23a14c6fce29 /Tools/scripts/objgraph.py | |
parent | efbeaef1c1732ddb8d7d6d71847631094958bc89 (diff) | |
download | cpython-git-10be10cbe72cc0cc0d05b2901f6857fdbb343894.tar.gz |
Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.
Diffstat (limited to 'Tools/scripts/objgraph.py')
-rwxr-xr-x | Tools/scripts/objgraph.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/objgraph.py b/Tools/scripts/objgraph.py index 01060f9e83..f74c2b670f 100755 --- a/Tools/scripts/objgraph.py +++ b/Tools/scripts/objgraph.py @@ -22,7 +22,7 @@ import sys import os import getopt -import regex +import re # Types of symbols. # @@ -32,7 +32,7 @@ ignore = 'Nntrgdsbavuc' # Regular expression to parse "nm -o" output. # -matcher = regex.compile('\(.*\):\t?........ \(.\) \(.*\)$') +matcher = re.compile('(.*):\t?........ (.) (.*)$') # Store "item" in "dict" under "key". # The dictionary maps keys to lists of items. |