Skip to content

Commit d31915d

Browse files
Jack Desertjonathanslenders
authored andcommitted
Alerting Users that Config is Not Used when Embedding
1 parent 52490b3 commit d31915d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ like this:
143143
else:
144144
sys.exit(embed(globals(), locals()))
145145
146+
Note config file support currently only works when invoking `ptpython` directly.
147+
That it, the config file will be ignored when embedding ptpython in an application.
146148

147149
Multiline editing
148150
*****************
@@ -193,6 +195,9 @@ is looked for.
193195
Have a look at this example to see what is possible:
194196
`config.py <https://github.com/jonathanslenders/ptpython/blob/master/examples/ptpython_config/config.py>`_
195197

198+
Note config file support currently only works when invoking `ptpython` directly.
199+
That it, the config file will be ignored when embedding ptpython in an application.
200+
196201

197202
IPython support
198203
***************

0 commit comments

Comments
 (0)