Skip to content

Commit

Permalink
Better docstring for _query
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-urbanczyk committed Nov 24, 2020
1 parent 4488b08 commit 55d1f3c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cadquery/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,12 @@ def _query(self, q: str) -> Tuple[str, Optional[Shape]]:
name[?tag][@kind@args]
for example:
valid example include:
obj_name@faces@>Z
obj_name @ faces @ >Z
obj_name?tag1@faces@>Z
obj_name ? tag
obj_name
"""

Expand Down

0 comments on commit 55d1f3c

Please sign in to comment.