On Jul 2, 2011, at 6:26 AM, Werner F. Bruhin wrote:

> Log:
> - escape of "*" for Sphinx doc
> 
> Diff:
> Modified: trunk/dabo/ui/uiwx/dTreeView.py
> ===================================================================
> --- trunk/dabo/ui/uiwx/dTreeView.py   2011-07-01 22:49:52 UTC (rev 6646)
> +++ trunk/dabo/ui/uiwx/dTreeView.py   2011-07-02 10:26:24 UTC (rev 6647)
> @@ -850,7 +850,7 @@
>                       showHidden=False, expand=False):
>               """
>               Make this dTreeView show a filesystem directory hierarchy. You
> -             can specify a wildcard pattern: e.g., "*py" will only include 
> files
> +             can specify a wildcard pattern: e.g., "\*py" will only include 
> files
>               ending in 'py'. You can also pass a list of wildcards, and 
> files 


        I'm not sure that this is a good change. Now the docstring in the code 
is incorrect: if you actually specified "\*py" as the wildcard, you would not 
get the .py files.

        Is there any other way of dealing with asterisks in Sphinx that would 
not result in inaccurate docstrings int he code?



-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to