mirror of https://github.com/flaggo/pydu.git
add doc for path
This commit is contained in:
parent
cb9a93790f
commit
c98cf978bf
|
@ -30,6 +30,7 @@ Content
|
|||
list
|
||||
misc
|
||||
network
|
||||
path
|
||||
request
|
||||
set
|
||||
string
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
Path
|
||||
----
|
||||
|
||||
.. py:function:: pydu.path.cd(path)
|
||||
|
||||
Context manager for cd the given path.
|
||||
|
||||
>>> from pydu.path import cd
|
||||
>>> with cd('test'):
|
||||
... pass
|
Loading…
Reference in New Issue