Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Commit df5ec5d

Browse files
authored
Docs: Update instructions for defining custom slicing rules
1 parent 5467b22 commit df5ec5d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ can incorporate this behavior into the tool.
3737
Meanwhile, you can help the backend make more precise slices by
3838
telling the tool which functions don't modify their
3939
arguments. By default, the tool assumes that functions change all
40-
arguments they're called with, and the objects they're called on.
40+
arguments they're called with, and the objects they're called on,
41+
with [exceptions for some common APIs](https://github.com/andrewhead/python-program-analysis/tree/master/src/specs).
4142
To edit the slicing rules, open the *Advanced Settings Editor* in the Jupyter Lab
42-
Settings menu and choose the "Code Gathering Tools" tab. In your
43-
user-defined settings, override `rules`, following
44-
[this format](https://github.com/microsoft/gather/blob/9582165ca7af009343a96625d49f5b52a2e115cb/schema/plugin.json#L48-L74)
43+
Settings menu and choose the "nbgather" tab. In your
44+
user-defined settings, override `moduleMap`, following
45+
[this format](https://github.com/andrewhead/python-program-analysis#api-specs)
4546
to specify which functions don't modify their arguments.
4647

4748
**How do I clear the notebook's history?** Open up your `.ipynb`

0 commit comments

Comments
 (0)