Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4865f97

Browse filesBrowse files
committed
DOC: Additional tip to exclude undesired matches in GitHub code search
Follow-up to #29620.
1 parent 6e4d951 commit 4865f97
Copy full SHA for 4865f97

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎doc/devel/api_changes.rst

Copy file name to clipboardExpand all lines: doc/devel/api_changes.rst
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ have to learn new API and have to modify existing code).
6767
You can start simple and look at the search results, if there are too many
6868
incorrect matches, gradually refine your search criteria.
6969

70+
It can also be helpful to add ``NOT path:**/matplotlib/** NOT path:**/site-packages/**``
71+
to exclude matches where the matplotlib codebase is checked into another repo,
72+
either as direct sources or as part of an environment.
73+
7074
*Example*: Calls of the method ``Figure.draw()`` could be matched using
7175
``/\bfig(ure)?\.draw\(/``. This expression employs a number of patterns:
7276

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.