We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MemoryFS
1 parent 63a4cd1 commit b19862bCopy full SHA for b19862b
1 file changed
fs/memoryfs.py
@@ -304,12 +304,16 @@ class MemoryFS(FS):
304
fast, but non-permanent. The `MemoryFS` constructor takes no
305
arguments.
306
307
- Example:
308
- >>> mem_fs = MemoryFS()
+ Examples:
+ Create with the constructor::
309
310
- Or via an FS URL:
311
- >>> import fs
312
- >>> mem_fs = fs.open_fs('mem://')
+ >>> from fs.memoryfs import MemoryFS
+ >>> mem_fs = MemoryFS()
+
313
+ Or via an FS URL::
314
315
+ >>> import fs
316
+ >>> mem_fs = fs.open_fs('mem://')
317
318
"""
319
0 commit comments