Skip to content

Commit 8db9d8b

Browse files
committed
updating code block format
1 parent 8724905 commit 8db9d8b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ Read the key, element pairs from a java properties file
55

66
Follows the [java properties file format](http://docs.oracle.com/javase/6/docs/api/java/util/Properties.html#load(java.io.Reader)) and tested against the Java 6 version of java.util.Properties
77

8-
Args:
9-
propfile: a valid file object (as returned by open(filename))
10-
Returns:
11-
The property key and elements as a dict
12-
Raises:
13-
IOError: if file operation fails with I/O related reason
14-
Corresponds to java IOException in Properties.load()
15-
UnicodeDecodeError: if the property file has malformed \uxxxx encoding,
16-
Corresponds to java IllegalArgumentException in Properties.load()
17-
AttributeError: if invalid object was provided for file object
18-
Corresponds to java NullPointerException
8+
Args:
9+
propfile: a valid file object (as returned by open(filename))
10+
Returns:
11+
The property key and elements as a dict
12+
Raises:
13+
IOError: if file operation fails with I/O related reason
14+
Corresponds to java IOException in Properties.load()
15+
UnicodeDecodeError: if the property file has malformed \uxxxx encoding,
16+
Corresponds to java IllegalArgumentException in Properties.load()
17+
AttributeError: if invalid object was provided for file object
18+
Corresponds to java NullPointerException

0 commit comments

Comments
 (0)