-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Discern properties from variables (#277)
* Possible way to address issue 276. This shows "property" if a variable is a property with a setter and/or a deleter and "ro-property" (read only property) if it is a property which does not have either a setter or getter. * Shorten comment line * Rename "vartype" to "kind". Also make property now show get/set/del depending on what is defined, e.g. propert/get/set * Remove unnecessary comment. * Make linter happy about line length. * REF: Make pdoc.Doc.obj point to raw property/descriptor * ENH: Introduce `Variable.kind: Literal["var","prop"]`
- Loading branch information
1 parent
c3fb554
commit 9b64f7f
Showing
2 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters