tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [2/2] tinkerpop git commit: Fixed the RST format for "code block" CTR
Date Wed, 31 Aug 2016 19:58:47 GMT
Fixed the RST format for "code block" CTR


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/2baaaa76
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/2baaaa76
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/2baaaa76

Branch: refs/heads/master
Commit: 2baaaa7665282389c9c31044f4e393ffb856cba4
Parents: 5162507
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Wed Aug 31 15:58:23 2016 -0400
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Wed Aug 31 15:58:23 2016 -0400

----------------------------------------------------------------------
 gremlin-python/src/main/jython/README | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2baaaa76/gremlin-python/src/main/jython/README
----------------------------------------------------------------------
diff --git a/gremlin-python/src/main/jython/README b/gremlin-python/src/main/jython/README
index 84ab9e8..a42db62 100644
--- a/gremlin-python/src/main/jython/README
+++ b/gremlin-python/src/main/jython/README
@@ -30,14 +30,14 @@ Gremlin-Python implements Gremlin within the Python language and can be
used on
 the popular CPython machine. Python’s syntax has the same constructs as Java including
"dot notation" for function
 chaining ``(a.b.c)``, round bracket function arguments ``(a(b,c))```, and support for global
namespaces
 ``(a(b()) vs a(__.b()))```. As such, anyone familiar with Gremlin-Java will immediately be
able to work with
-Gremlin-Python. Moreover, there are a few added constructs to Gremlin-Python that make traversals
a bit more succinct.
+Gremlin-Python. Moreover, there are a few added constructs to Gremlin-Python that make traversals
a bit more succinct._::
 
-| >>> g.V().both()[1:3].toList()
-| [v[2], v[4]]
-| >>> g.V().both()[1].toList()
-| [v[2]]
-| >>> g.V().both().name.toList()
-| [lop, vadas, josh, marko, marko, josh, peter, ripple, lop, marko, josh, lop]
+    >>> g.V().both()[1:3].toList()
+    [v[2], v[4]]
+    >>> g.V().both()[1].toList()
+    [v[2]]
+    >>> g.V().both().name.toList()
+    [lop, vadas, josh, marko, marko, josh, peter, ripple, lop, marko, josh, lop]
 
 Please see the `reference documentation <http://tinkerpop.apache.org/docs/current/reference/#gremlin-python>`_
 at Apache TinkerPop for more information on usage.
\ No newline at end of file


Mime
View raw message