tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [tinkerpop] branch master updated: Added a note about global scope in python CTR
Date Tue, 20 Nov 2018 17:24:59 GMT
This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/master by this push:
     new eaa5a66  Added a note about global scope in python CTR
     new a38e574  Merge branch 'tp33'
eaa5a66 is described below

commit eaa5a664c9884f46e0f16a75c8edafc7a2f3cf6a
Author: Stephen Mallette <spmva@genoprime.com>
AuthorDate: Tue Nov 20 12:24:30 2018 -0500

    Added a note about global scope in python CTR
---
 docs/src/reference/the-traversal.asciidoc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc
index 96da120..b4bbcf8 100644
--- a/docs/src/reference/the-traversal.asciidoc
+++ b/docs/src/reference/the-traversal.asciidoc
@@ -3184,6 +3184,11 @@ The `Scope` enum has two constants: `Scope.local` and `Scope.global`.
Scope dete
 being scoped is with respects to the current object (`local`) at that step or to the entire
stream of objects up to that
 step (`global`).
 
+[NOTE, caption=Python]
+====
+The term `global` is a reserved word in Python, and therefore a `Scope` using that term must
be referred as `global_`.
+====
+
 [gremlin-groovy,modern]
 ----
 g.V().has('name','marko').out('knows').count() <1>


Mime
View raw message