You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2016/08/31 16:50:11 UTC

tinkerpop git commit: missed a referenced to _as in the gremlin-language-variants tutorial. Changed to as_. CTR.

Repository: tinkerpop
Updated Branches:
  refs/heads/master a1257e2b6 -> 6bf9fbd52


missed a referenced to _as in the gremlin-language-variants tutorial. Changed to as_. CTR.


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

Branch: refs/heads/master
Commit: 6bf9fbd52554207fbc063b40eebce73b9298e74e
Parents: a1257e2
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Wed Aug 31 10:50:08 2016 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Wed Aug 31 10:50:08 2016 -0600

----------------------------------------------------------------------
 docs/src/tutorials/gremlin-language-variants/index.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/6bf9fbd5/docs/src/tutorials/gremlin-language-variants/index.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/tutorials/gremlin-language-variants/index.asciidoc b/docs/src/tutorials/gremlin-language-variants/index.asciidoc
index 4605765..0c26992 100644
--- a/docs/src/tutorials/gremlin-language-variants/index.asciidoc
+++ b/docs/src/tutorials/gremlin-language-variants/index.asciidoc
@@ -581,7 +581,7 @@ conventions of the host language and ensuring consistency with Gremlin-Java. A c
 this dual-language bridge are provided.
 
 * If camelCase is not an accepted method naming convention in the host language, then the host language's convention can be used instead. For instance, in a Gremlin-Ruby implementation, `outE("created")` may be `out_e("created")`.
-* If Gremlin-Java step names conflict with the host language's reserved words, then a consistent amelioration should be used. For instance, in Python `as` is a reserved word, thus, Gremlin-Python uses `_as`.
+* If Gremlin-Java step names conflict with the host language's reserved words, then a consistent amelioration should be used. For instance, in Python `as` is a reserved word, thus, Gremlin-Python uses `as_`.
 * If the host language does not use dot-notion for method chaining, then its method chaining convention should be used instead of going the route of operator overloading. For instance, a Gremlin-PHP implementation should do `$g->V()->out()`.
 * If a programming language does not support method overloading, then varargs and type introspection should be used. In Gremlin-Python, `*args` does just that.