ti., 15.06.2010 kl. 00.04 +0200, skrev Vinzent Steinberg: > What about updating the docstring?
It is updated: > > > @@ -309,6 +346,8 @@ def fcode(expr, **settings): > > some parameter statements for the number symbols. If > > False, the same information is returned in a more > > programmer-friendly data structure. > > + source_format -- The source format can be either 'fixed' or > > 'free'. > > + [default='fixed'] > > > > >>> from sympy import fcode, symbols, Rational, pi, sin > > >>> x, tau = symbols(["x", "tau"]) I rebased the three free-form patches and improved the commit message. It now reads: """ Move function wrap_fortran() to FCodePrinter._wrap_fortran() Making wrap_fortran() an instance method of FCodePrinter will let the line wrapping function respect settings of the printer. This will be needed to implement a free source format option. """ The rebased and improved patches are now at: http://github.com/jegerjensen/sympy/tree/fortran_free_form4 -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patc...@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-patches?hl=en.