Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 4947963

Browse files
author
Patrick Thomson
committed
Fix Doug's changes.
1 parent c30d0fc commit 4947963

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/examples.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ $ semantic diff test.A.py test.B.py
8888
(Empty)))
8989
```
9090
91-
Notice the difference? Instead of showing that entire lines where added and removed, the semantic diff is aware that the identifier of the function declaration and function call changed. Pretty cool.
91+
Notice the difference? Instead of showing that entire lines were added and removed, the semantic diff is aware that the identifier of the function declaration and function call changed. Pretty cool.
9292
9393
## Import graphs
9494
95-
OK, now for the fun stuff. Semantic can currently produce a couple of different graph analysis for source code, let's first take a look at import graphs. An import graph shows how files include other files within a software project. For this example, we are going to write a little bit more code in order to see this work. Start by creating a couple of new files:
95+
OK, now for the fun stuff. Semantic can currently produce a couple of different graph-based views of source code, let's first take a look at import graphs. An import graph shows how files include other files within a software project. For this example, we are going to write a little bit more code in order to see this work. Start by creating a couple of new files:
9696
9797
``` python
9898
# main.py
@@ -138,7 +138,7 @@ You'll get something that looks like this:
138138
139139
## Call graphs
140140
141-
Call graphs, expand on the import graphing capabilities by adding in some additional vertices and edges to the graph to identify named symbols and the connections between them. Taking the same example code, simply add `--call` to the invocation of semantic:
141+
Call graphs expand on the import graphing capabilities by adding in some additional vertices and edges to the graph to identify named symbols and the connections between them. Taking the same example code, simply add `--call` to the invocation of semantic:
142142
143143
```
144144
$ semantic graph --calls main.py | dot -Tsvg > main.html && open main.html

0 commit comments

Comments
 (0)