That make more sense now. I´ll do it like that.
I am not sure about leaving a blank line between in the end of the doc 
string . According to PEP 8 it should be like this right?

def my_function():
  """First line

  Subsequent lines
  are here.
  """
summary = my_function.__doc__.split("\n")[0]
print(summary)


Anyway, I am becoming a style freak when there are so many thing I need to 
learn yet.
So yes, I´ll stick with those conventions. Thx Marcus

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/bf4a6d7b-657a-4a64-a7de-4aab703d2b16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to