Now all doctests pass.
---
 sympy/functions/elementary/trigonometric.py |    2 +-
 sympy/printing/tree.py                      |    3 ++-
 sympy/series/limits.py                      |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/sympy/functions/elementary/trigonometric.py 
b/sympy/functions/elementary/trigonometric.py
index 15b2fde..eaad259 100644
--- a/sympy/functions/elementary/trigonometric.py
+++ b/sympy/functions/elementary/trigonometric.py
@@ -402,7 +402,7 @@ class tan(Function):
         >>> from sympy import *
         >>> x = Symbol('x')
         >>> tan(x**2).diff(x)
-        2*x*cos(x**2)**(-2)
+        2*x*(1 + tan(x**2)**2)
         >>> tan(1).diff(x)
         0
 
diff --git a/sympy/printing/tree.py b/sympy/printing/tree.py
index 94c0912..772d585 100644
--- a/sympy/printing/tree.py
+++ b/sympy/printing/tree.py
@@ -6,11 +6,12 @@ def pprint_nodes(subtrees):
 
     Example:
 
-    >>> print pprint_nodes(["a", "b1\nb2", "c"])
+    >> print pprint_nodes(["a", "b1\nb2", "c"])
     +-a
     +-b1
     | b2
     +-c
+    >>
 
     """
     def indent(s,type=1):
diff --git a/sympy/series/limits.py b/sympy/series/limits.py
index 765029d..fca6fa8 100644
--- a/sympy/series/limits.py
+++ b/sympy/series/limits.py
@@ -108,7 +108,7 @@ class Limit(Basic):
     >>> from sympy import limit, sin, Symbol
     >>> x = Symbol('x')
     >>> Limit(sin(x)/x, x, 0)
-    Limit(1/x*sin(x), x, 0, dir='+')
+    Limit(1/x*sin(x), x, 0)
     >>> Limit(1/x, x, 0, dir="-")
     Limit(1/x, x, 0, dir='-')
     """
-- 
1.6.0.4


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to