Dear all!

I thought it may make sense to have an easy way to find the names of all 
optional (i.e., keyword) arguments used in sage, ideally as a dictionary 
mapping names to the methods where they are used.

So, for example, one entry might be (schematically)

(' rank', [random_subspaces_matrix, BasisExchangeMatroid.__init__, 
Lfunction.find_zeros_via_N, mult_schubert, BasisMatroid.__init__, 
TrivialBundle, SheafLibrary.trivial_bundle])

I would find that useful to make informed decisions about how to name my 
keyword arguments.

Has anybody done this yet?

Note that there is a very short list of such "Common function keyword 
arguments" at

https://doc.sagemath.org/html/en/developer/coding_basics.html#miscellaneous-minor-things

I realize that this is a bit of bikeshedding.  With what I have I found 
only few potential mergers (file and filename; vars and variables, verify 
and check), but quite a lot of  rather obscure names (infamous example: 
desolvers.py).

Best wishes,

Martin

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/6610b35e-44e9-4736-a7e4-aaf757c52549n%40googlegroups.com.

Reply via email to