mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
doc update
This commit is contained in:
@ -16,7 +16,10 @@ compatibility(mod_name, compatible)
|
|||||||
```
|
```
|
||||||
Checks for the parser's compatibility with the running OS platform.
|
Checks for the parser's compatibility with the running OS platform.
|
||||||
|
|
||||||
compatible options:
|
Arguments:
|
||||||
|
|
||||||
|
mod_name (string) __name__ of the calling module
|
||||||
|
compatible (list) sys.platform name(s) compatible with the parser
|
||||||
|
compatible options:
|
||||||
linux, darwin, cygwin, win32, aix, freebsd
|
linux, darwin, cygwin, win32, aix, freebsd
|
||||||
|
|
||||||
|
@ -24,8 +24,11 @@ def error_message(message):
|
|||||||
def compatibility(mod_name, compatible):
|
def compatibility(mod_name, compatible):
|
||||||
"""Checks for the parser's compatibility with the running OS platform.
|
"""Checks for the parser's compatibility with the running OS platform.
|
||||||
|
|
||||||
compatible options:
|
Arguments:
|
||||||
|
|
||||||
|
mod_name (string) __name__ of the calling module
|
||||||
|
compatible (list) sys.platform name(s) compatible with the parser
|
||||||
|
compatible options:
|
||||||
linux, darwin, cygwin, win32, aix, freebsd
|
linux, darwin, cygwin, win32, aix, freebsd
|
||||||
"""
|
"""
|
||||||
if sys.platform not in compatible:
|
if sys.platform not in compatible:
|
||||||
|
Reference in New Issue
Block a user