Add doc about abasolute paths for load function

This commit is contained in:
Jason Paryani
2013-08-21 17:18:02 -07:00
parent 934a204ea5
commit 79653ca260

View File

@@ -18,6 +18,8 @@ Then you can load the Cap'n Proto schema with::
capnp.load('addressbook.capnp') capnp.load('addressbook.capnp')
You can also provide an absolute path to the Cap'n Proto schema you wish to load. Otherwise, it will only look in the current working directory.
For future reference, here is the Cap'n Proto schema. Also available in the github repository under examples/addressbook.capnp:: For future reference, here is the Cap'n Proto schema. Also available in the github repository under examples/addressbook.capnp::
# addressbook.capnp # addressbook.capnp