Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 62682200B71 for ; Wed, 31 Aug 2016 21:58:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 60BBC160AB5; Wed, 31 Aug 2016 19:58:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AF4EA160AB4 for ; Wed, 31 Aug 2016 21:58:47 +0200 (CEST) Received: (qmail 48216 invoked by uid 500); 31 Aug 2016 19:58:47 -0000 Mailing-List: contact commits-help@tinkerpop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tinkerpop.apache.org Delivered-To: mailing list commits@tinkerpop.apache.org Received: (qmail 48200 invoked by uid 99); 31 Aug 2016 19:58:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2016 19:58:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CB2DBDFDD3; Wed, 31 Aug 2016 19:58:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: spmallette@apache.org To: commits@tinkerpop.apache.org Date: Wed, 31 Aug 2016 19:58:47 -0000 Message-Id: <89527c30f8764c8c970201d9f36a9e35@git.apache.org> In-Reply-To: <1895941fd81540de967e5fdddb0eca9a@git.apache.org> References: <1895941fd81540de967e5fdddb0eca9a@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] tinkerpop git commit: Fixed the RST format for "code block" CTR archived-at: Wed, 31 Aug 2016 19:58:48 -0000 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 Authored: Wed Aug 31 15:58:23 2016 -0400 Committer: Stephen Mallette 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 `_ at Apache TinkerPop for more information on usage. \ No newline at end of file