Apply suggestions from documentation review

Co-Authored-By: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
Taus 2019-11-27 11:40:35 +01:00 коммит произвёл Taus Brock-Nannestad
Родитель 35e3e3d2a1
Коммит 8372039205
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -13,8 +13,8 @@ Python 3.8 syntax is now supported. In particular, the following constructs are
### General query improvements ### General query improvements
In an effort to deprecate the `Object` API (e.g. `ClassObject`) in favour of the Following the replacement of the `Object` API (for example, `ClassObject`) in favor of the
`Value` API (e.g. `ClassValue`), many of the standard queries have been updated `Value` API (for example, `ClassValue`) in the 1.21 release, many of the standard queries have been updated
to use the `Value` API. This should result in more precise results. to use the `Value` API. This should result in more precise results.
## New queries ## New queries
@ -43,8 +43,8 @@ to use the `Value` API. This should result in more precise results.
* Django library now recognizes positional arguments from a `django.conf.urls.url` regex (Django version 1.x) * Django library now recognizes positional arguments from a `django.conf.urls.url` regex (Django version 1.x)
* Instances of the `Value` class now support the `isAbsent` method, indicating * Instances of the `Value` class now support the `isAbsent` method, indicating
whether the `Value` in question is missing points-to information, but has been whether that `Value` lacks points-to information, but inference
inferred to likely exist anyway. For instance, if a file contains `import suggests that it exists. For instance, if a file contains `import
django`, but `django` was not extracted properly, there will be a django`, but `django` was not extracted properly, there will be a
`ModuleValue` corresponding to this "unknown" module, and the `isAbsent` `ModuleValue` corresponding to this "unknown" module, and the `isAbsent`
method will hold for this `ModuleValue`. method will hold for this `ModuleValue`.