From 8c3e3cf501d42c6abcabb5d3891c804dcfd8de86 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Tue, 25 Apr 2023 13:00:44 -0400 Subject: Fix enterprise example formatting --- python/enterprise.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'python') diff --git a/python/enterprise.py b/python/enterprise.py index c0eb4830..c6c047c3 100644 --- a/python/enterprise.py +++ b/python/enterprise.py @@ -321,12 +321,12 @@ class LicenseCheckout: Helper class for scripts to make use of a license checkout in a scope. :Example: - enterprise.connect() - enterprise.authenticate_with_credentials("username", "password") - with enterprise.LicenseCheckout(): - # Do some operation - with open_view("/bin/ls") as bv: # e.g. - print(hex(bv.start)) + >>> enterprise.connect() + >>> enterprise.authenticate_with_credentials("username", "password") + >>> with enterprise.LicenseCheckout(): + ... # Do some operation + ... with open_view("/bin/ls") as bv: # e.g. + ... print(hex(bv.start)) # License is released at end of scope """ def __init__(self, duration=900, _cache=True, release=True): -- cgit v1.3.1