Skip to content

Commit

Permalink
Add some unnecessary newlines for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
moble committed Mar 29, 2015
1 parent 514d86c commit 8404dc7
Show file tree
Hide file tree
Showing 19 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions sympy/core/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1812,6 +1812,7 @@ def skip(self):
Examples
--------
>>> from sympy.core import symbols
>>> from sympy.core.basic import preorder_traversal
>>> x, y, z = symbols('x y z')
Expand Down
1 change: 1 addition & 0 deletions sympy/integrals/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Examples
--------
>>> from sympy import integrate, sin
>>> from sympy.abc import x
>>> integrate(1/x,x)
Expand Down
6 changes: 6 additions & 0 deletions sympy/liealgebras/root_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def simple_roots(self):
Example
====
>>> from sympy.liealgebras.root_system import RootSystem
>>> c = RootSystem("A3")
>>> roots = c.simple_roots()
Expand Down Expand Up @@ -100,6 +101,7 @@ def root_space(self):
Example
=======
>>> from sympy.liealgebras.root_system import RootSystem
>>> c = RootSystem("A3")
>>> c.root_space()
Expand All @@ -119,6 +121,7 @@ def add_simple_roots(self, root1, root2):
Example
=======
>>> from sympy.liealgebras.root_system import RootSystem
>>> c = RootSystem("A3")
>>> newroot = c.add_simple_roots(1, 2)
Expand Down Expand Up @@ -148,6 +151,7 @@ def add_as_roots(self, root1, root2):
Example
=======
>>> from sympy.liealgebras.root_system import RootSystem
>>> c = RootSystem("A3")
>>> c.add_as_roots([1, 0, -1, 0], [0, 0, 1, -1])
Expand All @@ -172,6 +176,7 @@ def cartan_matrix(self):
Example
=======
>>> from sympy.liealgebras.root_system import RootSystem
>>> c = RootSystem("A3")
>>> c.cartan_matrix()
Expand All @@ -189,6 +194,7 @@ def dynkin_diagram(self):
Example
=======
>>> from sympy.liealgebras.root_system import RootSystem
>>> c = RootSystem("A3")
>>> print(c.dynkin_diagram())
Expand Down
2 changes: 2 additions & 0 deletions sympy/liealgebras/type_a.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def positive_roots(self):
Example
======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("A3")
>>> c.positive_roots()
Expand Down Expand Up @@ -124,6 +125,7 @@ def cartan_matrix(self):
Example
=======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType('A4')
>>> c.cartan_matrix()
Expand Down
3 changes: 3 additions & 0 deletions sympy/liealgebras/type_b.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def simple_root(self, i):
Example
========
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("B3")
>>> c.simple_root(2)
Expand All @@ -81,6 +82,7 @@ def positive_roots(self):
Example
======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("A3")
>>> c.positive_roots()
Expand Down Expand Up @@ -126,6 +128,7 @@ def cartan_matrix(self):
Example
=======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType('B4')
>>> c.cartan_matrix()
Expand Down
4 changes: 4 additions & 0 deletions sympy/liealgebras/type_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def dimension(self):
Example
========
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("C3")
>>> c.dimension()
Expand Down Expand Up @@ -52,6 +53,7 @@ def simple_root(self, i):
Example
========
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("C3")
>>> c.simple_root(2)
Expand All @@ -76,6 +78,7 @@ def positive_roots(self):
Example
======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("A3")
>>> c.positive_roots()
Expand Down Expand Up @@ -122,6 +125,7 @@ def cartan_matrix(self):
Example
=======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType('C4')
>>> c.cartan_matrix()
Expand Down
3 changes: 3 additions & 0 deletions sympy/liealgebras/type_d.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def simple_root(self, i):
Example
========
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("D4")
>>> c.simple_root(2)
Expand All @@ -85,6 +86,7 @@ def positive_roots(self):
Example
======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("A3")
>>> c.positive_roots()
Expand Down Expand Up @@ -123,6 +125,7 @@ def cartan_matrix(self):
Example
=======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType('D4')
>>> c.cartan_matrix()
Expand Down
2 changes: 2 additions & 0 deletions sympy/liealgebras/type_e.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def positive_roots(self):
Example
======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("A3")
>>> c.positive_roots()
Expand Down Expand Up @@ -237,6 +238,7 @@ def cartan_matrix(self):
Example
=======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType('A4')
>>> c.cartan_matrix()
Expand Down
4 changes: 4 additions & 0 deletions sympy/liealgebras/type_f.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def dimension(self):
Example
========
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("F4")
>>> c.dimension()
Expand Down Expand Up @@ -50,6 +51,7 @@ def simple_root(self, i):
Example
=======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("F4")
>>> c.simple_root(3)
Expand All @@ -75,6 +77,7 @@ def positive_roots(self):
Example
======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("A3")
>>> c.positive_roots()
Expand Down Expand Up @@ -134,6 +137,7 @@ def cartan_matrix(self):
Example
=======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType('A4')
>>> c.cartan_matrix()
Expand Down
4 changes: 4 additions & 0 deletions sympy/liealgebras/type_g.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def dimension(self):
Example
========
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("G2")
>>> c.dimension()
Expand All @@ -37,6 +38,7 @@ def simple_root(self, i):
Example
=======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("G2")
>>> c.simple_root(1)
Expand All @@ -56,6 +58,7 @@ def positive_roots(self):
Example
======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("A3")
>>> c.positive_roots()
Expand Down Expand Up @@ -84,6 +87,7 @@ def cartan_matrix(self):
Example
=======
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("G2")
>>> c.cartan_matrix()
Expand Down
5 changes: 5 additions & 0 deletions sympy/liealgebras/weyl_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def generators(self):
Example
=======
>>> from sympy.liealgebras.weyl_group import WeylGroup
>>> c = WeylGroup("F4")
>>> c.generators()
Expand All @@ -53,6 +54,7 @@ def group_order(self):
Example
=======
>>> from sympy.liealgebras.weyl_group import WeylGroup
>>> c = WeylGroup("D4")
>>> c.group_order()
Expand Down Expand Up @@ -125,6 +127,7 @@ def element_order(self, weylelt):
Example
========
>>> from sympy.liealgebras.weyl_group import WeylGroup
>>> b = WeylGroup("B4")
>>> b.element_order('r1*r4*r2')
Expand Down Expand Up @@ -225,6 +228,7 @@ def matrix_form(self, weylelt):
Example
=======
>>> from sympy.liealgebras.weyl_group import WeylGroup
>>> f = WeylGroup("F4")
>>> f.matrix_form('r2*r3')
Expand Down Expand Up @@ -375,6 +379,7 @@ def coxeter_diagram(self):
Example
========
>>> from sympy.liealgebras.weyl_group import WeylGroup
>>> c = WeylGroup("B3")
>>> print(c.coxeter_diagram())
Expand Down
1 change: 1 addition & 0 deletions sympy/matrices/expressions/hadamard.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def hadamard_product(*matrices):
Examples
--------
>>> from sympy.matrices import hadamard_product, MatrixSymbol
>>> A = MatrixSymbol('A', 2, 3)
>>> B = MatrixSymbol('B', 2, 3)
Expand Down
1 change: 1 addition & 0 deletions sympy/physics/pring.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def wavefunction(n, x):
Examples
========
>>> from sympy.physics.pring import wavefunction, energy
>>> from sympy import Symbol, integrate, pi
>>> x=Symbol("x")
Expand Down
1 change: 1 addition & 0 deletions sympy/polys/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ def diff(f, x):
Examples
--------
>>> from sympy.polys.fields import field
>>> from sympy.polys.domains import ZZ
Expand Down
Loading

0 comments on commit 8404dc7

Please sign in to comment.