[Wisp-cvs] wisp/users/dig linkie.py,1.38,1.39
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-04-26 17:43:08
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv30222 Modified Files: linkie.py Log Message: minor cleanup Index: linkie.py =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/linkie.py,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- linkie.py 26 Apr 2003 17:42:08 -0000 1.38 +++ linkie.py 26 Apr 2003 17:43:04 -0000 1.39 @@ -43,7 +43,7 @@ delta += this._locals[a] else: # forwards this._unresolved_locals.append((a, s, len(this._contents))) - elif type(a) == StringType: # global reference + elif isinstance(a, str): # global reference if not a[0] in '#&!%': raise 'unprefixed symbol being referred to', a this.notify_linker(this.memsz(), s, a) |