Skip to content

Commit 1998cc7

Browse files
committed
Minor docstring updates
1 parent fbd126d commit 1998cc7

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

openslide/__init__.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# openslide-python - Python bindings for the OpenSlide library
33
#
4-
# Copyright (c) 2010-2013 Carnegie Mellon University
4+
# Copyright (c) 2010-2014 Carnegie Mellon University
55
#
66
# This library is free software; you can redistribute it and/or modify it
77
# under the terms of version 2.1 of the GNU Lesser General Public License
@@ -19,10 +19,7 @@
1919

2020
"""A library for reading whole-slide images.
2121
22-
This package provides Python bindings for the OpenSlide library. For
23-
documentation on the OpenSlide API, see:
24-
25-
http://openslide.org/api/openslide_8h.html
22+
This package provides Python bindings for the OpenSlide library.
2623
"""
2724

2825
from __future__ import division, print_function
@@ -141,9 +138,9 @@ def get_thumbnail(self, size):
141138
class OpenSlide(AbstractSlide):
142139
"""An open whole-slide image.
143140
144-
close() is called automatically when the object is deleted. In
145-
addition, an OpenSlide object may be used as a context manager, and
146-
will be closed when exiting the context.
141+
close() is called automatically when the object is deleted.
142+
The object may be used as a context manager, in which case it will be
143+
closed upon exiting the context.
147144
148145
If an operation fails, OpenSlideError is raised. Note that OpenSlide
149146
has latching error semantics: once OpenSlideError is raised, all future

0 commit comments

Comments
 (0)