Skip to content

Commit de6ab45

Browse files
committed
fix some typos reported by readers and fix conf and pavement to work
1 parent 08242de commit de6ab45

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎pavement.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
@task
4040
@cmdopts([
4141
('all','a','rebuild everything'),
42-
('outputdir=', 'o', 'output static files here')
42+
('outputdir=', 'o', 'output static files here'),
4343
('masterurl=', 'u', 'override the default master url'),
4444
('masterapp=', 'p', 'override the default master app')
4545
])

‎source/Java4Python.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ how objects and variables work is very consistent. Third, you can write
7575
powerful and interesting programs without a lot of work. However, Python
7676
is representative of one kind of language, called a dynamic language.
7777
You might think of Python as being fairly informal. There are other
78-
languages, Like Java and C++ that are more formal.
78+
languages, like Java and C++ that are more formal.
7979

8080
These languages have some advantages of their own. First, is speed: For
8181
very large programs Java and C++ are going to give you the best
@@ -595,7 +595,7 @@ to find them in the next chapter.
595595
boolean hasNextDouble() returns true if the next thing to read is a double
596596
Integer nextInt() returns the next thing to read as an integer
597597
Float nextFloat() returns the next thing to read as a float
598-
Double nextInt() returns the next thing to read as a Double
598+
Double nextDouble() returns the next thing to read as a Double
599599
String next() returns the next thing to read as a String
600600
==================== ================ ======================================================
601601

@@ -800,7 +800,7 @@ is a new twist to the ``ArrayList`` declaration. Unlike Python where
800800
lists can contain just about anything, in Java we let the compiler know
801801
what kind of objects our array list is going to contain. In this case
802802
the ``ArrayList`` will contain Integers. The syntax we use to declare
803-
what kind of object the list will contain is the ``<``*Type*``>``
803+
what kind of object the list will contain is the ``<Type>``
804804
syntax.
805805

806806
Technically, you don’t *have* to declare what is going to be on an array

‎source/conf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
#html_style = "style.css"
136136

137137
# Add any paths that contain custom themes here, relative to this directory.
138-
html_theme_path = ["../../t@github.com:bnmnetp/Java4Python.gitsource/_templates/plugin_layouts"]
138+
html_theme_path = ["../../source/_templates/plugin_layouts"]
139139

140140
# The name for this set of Sphinx documents. If None, it defaults to
141141
# "<project> v<release> documentation".

0 commit comments

Comments
 (0)