Takafumi Arakaki
5a29fecfb2
Fix Python 3 syntax error
2013-03-10 20:40:52 +01:00
Takafumi Arakaki
71d5b0ac67
Document return type of get_names_of_scope
2013-03-10 20:40:52 +01:00
Takafumi Arakaki
87714460a2
Add get_names_of_scope option to evaluate.get_names_of_scope
...
Previously failing test passes now.
2013-03-10 20:40:14 +01:00
Takafumi Arakaki
3fbe7e9ff4
Rewrite get_definitions using evaluate.get_names_of_scope
...
- Definition.names is changed to Definition.name.
- TestGetDefinitions.test_nested_definitions fails.
2013-03-10 20:40:14 +01:00
Takafumi Arakaki
1eccf2f765
Make sure get_definitions returns list in Python 3
2013-03-10 20:40:14 +01:00
Takafumi Arakaki
89bfdd2b2d
Test that full_name works with get_definitions
2013-03-10 20:40:14 +01:00
Takafumi Arakaki
08f45d1f95
Fix Definition.get_definitions
2013-03-10 20:40:14 +01:00
Takafumi Arakaki
0f67b3e0c2
More robust Definition.names
2013-03-10 20:40:14 +01:00
Takafumi Arakaki
d0ad14adf4
Fix Definition.names for star import
2013-03-10 20:40:14 +01:00
Takafumi Arakaki
ba7d29f542
Add a test for multiple assignment
2013-03-10 20:40:14 +01:00
Takafumi Arakaki
cbcaa85108
Add :attr:Definition.names
2013-03-10 20:40:14 +01:00
Takafumi Arakaki
39feecee04
Add new API: jedi.api.get_definitions
2013-03-10 20:40:14 +01:00
David Halter
dac25ea342
Merge pull request #148 from tkf/docstring-improvements
...
Improve docstrings
2013-03-03 20:18:58 -08:00
Takafumi Arakaki
8d486ff9aa
Make doctest Python 3.x compatible
2013-03-04 02:07:47 +01:00
Takafumi Arakaki
0c6f7f66e9
Document get_names_of_scope with examples
2013-03-03 15:49:49 +01:00
Takafumi Arakaki
11707ffbbb
Document evaluate.get_defined_names_for_position
2013-03-03 15:29:26 +01:00
Takafumi Arakaki
8e85adb718
Document Scope.get_defined_names
2013-03-03 15:19:34 +01:00
Takafumi Arakaki
d256c5470c
Add a very short tutorial on parsing_representation
2013-03-03 14:55:24 +01:00
Takafumi Arakaki
99ab2dec15
Document pr.SubModule
2013-03-03 14:45:07 +01:00
Takafumi Arakaki
77e8b2aecd
Remove a philosophical (and confusing) statement
2013-03-03 14:18:58 +01:00
Takafumi Arakaki
ac159bac07
Document pr.Simple.__init__
2013-03-03 14:17:16 +01:00
Takafumi Arakaki
dc9a269d35
Use literal block instead of >>> for code example
2013-03-03 14:07:48 +01:00
Takafumi Arakaki
700493cac8
Fix and improve Statement.__doc__
...
- The type of `set_vars` and `used_vars` were wrong.
- ":param ...:" was used instead of ":type ...:".
- The parameter table is aligned to make it easier to read.
2013-03-03 14:07:07 +01:00
David Halter
90c800b257
remove repl style comments and use indented blocks instead, #146
2013-03-01 19:52:36 +04:30
David Halter
c98d099001
typos
2013-03-01 00:50:20 +04:30
David Halter
ee6a261b42
Merge branch 'dev' of github.com:davidhalter/jedi into dev
2013-03-01 00:35:18 +04:30
David Halter
e3b33fc009
fixed a unicode problem caused by a wrongly placed docstring
2013-03-01 00:32:54 +04:30
David Halter
68a9cecb27
improved run test documentation
2013-03-01 00:31:51 +04:30
David Halter
c808bcef70
little description of regression and refactor
2013-03-01 00:23:13 +04:30
David Halter
669dfda419
run documentation improved
2013-03-01 00:19:05 +04:30
David Halter
855d683d9a
switched to __name__ == '__main__' checks for tests
2013-03-01 00:07:36 +04:30
David Halter
1834ef51b1
basic testing docstring for run.py
2013-02-28 23:57:33 +04:30
David Halter
76bd1a2d71
add testing docs to sphinx
2013-02-28 23:19:53 +04:30
David Halter
ffbc7df68d
Merge pull request #146 from tkf/doctest
...
Add doctest
2013-02-26 03:46:08 -08:00
Takafumi Arakaki
9ba9e2c3a6
Make doctest work on Python 2.5
2013-02-26 10:58:24 +01:00
Takafumi Arakaki
6d2f7558fb
Run doctests on Travis CI
2013-02-26 10:45:58 +01:00
Takafumi Arakaki
b56c212a2c
Fix renamed functions in docstring
2013-02-26 10:36:29 +01:00
Takafumi Arakaki
95a98c9033
Do not use >>> for non-doctest code example
...
Use literal block instead.
2013-02-26 10:36:08 +01:00
Takafumi Arakaki
dad9cf0518
Print str to avoid u prefix
2013-02-26 10:28:25 +01:00
Takafumi Arakaki
668be37089
Use nose to run doctests
2013-02-26 10:25:16 +01:00
David Halter
20e5a6adea
Merge pull request #144 from tkf/class-call-signature
...
Include __init__ call signature in Class.doc
2013-02-25 05:41:54 -08:00
David Halter
69cc5020be
Merge pull request #143 from tkf/call-signature-test
...
Add a test for docstring in call signature
2013-02-24 20:38:37 -08:00
Takafumi Arakaki
38fc49022f
Include __init__ call signature in Class.doc
2013-02-25 01:50:31 +01:00
Takafumi Arakaki
4ba9fd2b68
Fix Statement.get_code
...
Parsed Statement.assignment_details must be used. Otherwise,
incorrect code is returned at the first time Statement.get_code
is called.
2013-02-25 01:43:22 +01:00
Takafumi Arakaki
e1e2ed8fcc
Add a test for docstring in call signature
2013-02-24 22:45:10 +01:00
Danilo Bargen
3dcad981a5
Merge pull request #142 from tkf/doc-inheritance-diagram
...
Add inheritance-diagram to Sphinx documentation
2013-02-24 13:44:13 -08:00
Takafumi Arakaki
c911255d6e
Add inheritance-diagram to Sphinx documentation
2013-02-24 21:20:00 +01:00
David Halter
d9ac630633
Merge pull request #140 from tkf/tox-setenv
...
Set XDG_CACHE_HOME in tox to avoid contaminating ~/.cache
2013-02-24 06:35:13 -08:00
David Halter
bbb1c463b4
Merge pull request #139 from tkf/tox-25
...
Fix setup.py and make 2.5 test runnable with tox
2013-02-24 06:33:46 -08:00
Takafumi Arakaki
679cd05acf
Set XDG_CACHE_HOME in tox to avoid contaminating ~/.cache
2013-02-24 15:01:39 +01:00