<p>In <a href="https://github.com/geany/geany/pull/957#discussion_r61921048">tagmanager/src/tm_source_file.c</a>:</p>
<pre style='color:#555'>> @@ -109,6 +109,35 @@ gchar *tm_get_real_path(const gchar *file_name)
>    return NULL;
>  }
>  
> +/* add argument list of __init__() Python methods to the class tag */
> +static void update_python_arglist(const TMTag *tag)
> +{
> +  guint i;
> +  const char *parent_tag_name;
> +
> +  if (tag->type != tm_tag_method_t || tag->scope == NULL ||
> +          g_strcmp0(tag->name, "__init__") != 0)
> +          return;
> +
> +  parent_tag_name = strrchr(tag->scope, '.');
</pre>
<p>note: doesn't support the <code>/</code> separator previous code did, but our parser doesn't have it anyway.<br>
Also, it would only concern classes defined inside a function or method, which is less common.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/pull/957/files/f61a64be29cbba0162f92eb5c1fe4aa2af33fd33#r61921048">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJxfbz1YrsZeLl39vMX0d4C1Mvzu5ks5p94WagaJpZM4Ht-Ad.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/957/files/f61a64be29cbba0162f92eb5c1fe4aa2af33fd33#r61921048"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>