@saduqz
Is the common markup language used
def kos_root():
"""Return the pathname of the KOS root directory."""
global _kos_root
if _kos_root: return _kos_root
...
def complex(real=0.0, imag=0.0):
"""Form a complex number.
Keyword arguments:
real -- the real part (default 0.0)
imag -- the imaginary part (default 0.0)
"""
if imag == 0.0 and real == 0.0:
return complex_zero
...
def complex(real=0.0, imag=0.0):
"""
Form a complex number.
:param real: the real part (default 0.0)
:param imag: the imaginary part (default 0.0)
:return: some calculate value
"""
if imag == 0.0 and real == 0.0:
return complex_zero
...
def complex(real=0.0, imag=0.0):
"""
Form a complex number.
:param real: Float, the real part (default 0.0). Ie, 1.4
:param imag: Float, the imaginary part (default 0.0). Ie, 1.8
:return: Float, some calculate value. Ie, 3.2
"""
if imag == 0.0 and real == 0.0:
return complex_zero
...
(Examples)
Text
urlpatterns = [
...
url(r'^api/', include('api.urls', namespace='api')),
...
]
urlpatterns = [
...
url(r'^v1/', include('api.v1.urls', namespace='v1')),
url(r'^v2/', include('api.v2.urls', namespace='v2')),
...
]
urlpatterns = [
...
url(r'^user/$', views.create_user, name='create_user'),
...
]
# /api/v1/user
# api:v1:create_user