1.1 --- a/common.py Mon Feb 20 00:35:08 2017 +0100
1.2 +++ b/common.py Mon Feb 20 12:59:17 2017 +0100
1.3 @@ -749,8 +749,7 @@
1.4
1.5 If the name is being used outside a function, and if 'name_ref' is
1.6 given, a path featuring the name in the global namespace is returned
1.7 - where 'name_ref' indicates a global, or a static reference is used if
1.8 - 'name_ref' provides such a reference. Otherwise, a path computed using
1.9 + where 'name_ref' indicates a global. Otherwise, a path computed using
1.10 the current namespace and the given name is returned.
1.11
1.12 The intention of this method is to provide a suitably-qualified name
1.13 @@ -769,11 +768,6 @@
1.14 if self.in_function:
1.15 return name
1.16
1.17 - # For static references, use the reference origin.
1.18 -
1.19 - elif name_ref and name_ref.final():
1.20 - return name_ref.final()
1.21 -
1.22 # For global names outside functions, use a global name.
1.23
1.24 elif name_ref and name_ref.is_global_name():