@@ -129,23 +129,23 @@ what type of objects you typically expect it to be called with. As in C++, the
129129keywords indicate a description of parameters and return values.
130130
131131class Astronomer(object):
132- """A single Astronomer.
133-
134- An astronomer has any number of paper and exactly one name.
135- It has a specialism, height, and age, and lifespan which is determined
136- primarily by its height. Astronomers use Telescope object to observe.
137- """
138- def __init__(self, name, papers=None):
139- """
140- Construct an astronomer.
141-
142- Make up an astronomer object by specifying its components. All the normal
143- properties of astronomers are assumed.
144-
145- @param name (String) Mandatory - the astronomer's surname
146- @param papers (List of strings) Optional - a list of papers by the astronomer
147- @return (Astronomer) A new astronomer instance
148- """
132+ """A single Astronomer.
133+
134+ An astronomer has any number of paper and exactly one name.
135+ It has a specialism, height, and age, and lifespan which is determined
136+ primarily by its height. Astronomers use Telescope object to observe.
137+ """
138+ def __init__(self, name, papers=None):
139+ """
140+ Construct an astronomer.
141+
142+ Make up an astronomer object by specifying its components. All the normal
143+ properties of astronomers are assumed.
144+
145+ @param name (String) Mandatory - the astronomer's surname
146+ @param papers (List of strings) Optional - a list of papers by the astronomer
147+ @return (Astronomer) A new astronomer instance
148+ """
149149
150150
151151DOCUMENTING FILES
@@ -191,10 +191,10 @@ def __init__(self, name, ...):
191191...
192192...
193193...
194- ##(String) The astronomer surname
195- #
196- ## The astronomer surname including any hyphenation.
197- self.name=name
194+ ##(String) The astronomer surname
195+ #
196+ ## The astronomer surname including any hyphenation.
197+ self.name=name
198198
199199
200200
@@ -232,21 +232,3 @@ nicely document both C++ and Python at once.
232232[1] This is an option in the Doxyfile that I have set.
233233[2] But please don't put many variables at global scope. That's usually a bad sign.
234234
235- # Copyright 2012, 2013 The GalSim developers:
236- # https://github.com/GalSim-developers
237- #
238- # This file is part of GalSim: The modular galaxy image simulation toolkit.
239- #
240- # GalSim is free software: you can redistribute it and/or modify
241- # it under the terms of the GNU General Public License as published by
242- # the Free Software Foundation, either version 3 of the License, or
243- # (at your option) any later version.
244- #
245- # GalSim is distributed in the hope that it will be useful,
246- # but WITHOUT ANY WARRANTY; without even the implied warranty of
247- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
248- # GNU General Public License for more details.
249- #
250- # You should have received a copy of the GNU General Public License
251- # along with GalSim. If not, see <http://www.gnu.org/licenses/>
252- #
0 commit comments