[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43112] trunk/blender/doc/python_api/rst: Correct use of your vs you're in py api docs

Campbell Barton ideasman42 at gmail.com
Wed Jan 4 04:22:49 CET 2012


Revision: 43112
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43112
Author:   campbellbarton
Date:     2012-01-04 03:22:37 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
Correct use of your vs you're in py api docs

Modified Paths:
--------------
    trunk/blender/doc/python_api/rst/info_best_practice.rst
    trunk/blender/doc/python_api/rst/info_quickstart.rst
    trunk/blender/doc/python_api/rst/info_tips_and_tricks.rst

Modified: trunk/blender/doc/python_api/rst/info_best_practice.rst
===================================================================
--- trunk/blender/doc/python_api/rst/info_best_practice.rst	2012-01-04 02:48:41 UTC (rev 43111)
+++ trunk/blender/doc/python_api/rst/info_best_practice.rst	2012-01-04 03:22:37 UTC (rev 43112)
@@ -2,9 +2,9 @@
 Best Practice
 *************
 
-When writing you're own scripts python is great for new developers to pick up and become productive, but you can also pick up odd habits or at least write scripts that are not easy for others to understand.
+When writing your own scripts python is great for new developers to pick up and become productive, but you can also pick up odd habits or at least write scripts that are not easy for others to understand.
 
-For you're own work this is of course fine, but if you want to collaborate with others or have you're work included with blender there are practices we encourage.
+For your own work this is of course fine, but if you want to collaborate with others or have your work included with blender there are practices we encourage.
 
 
 Style Conventions
@@ -244,7 +244,7 @@
 Checking String Start/End
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 
-If your checking the start of a string for a keyword, rather than...
+If you're checking the start of a string for a keyword, rather than...
 
 >>> if line[0:5] == "vert ": ...
 
@@ -279,8 +279,8 @@
 In cases where you know you are checking for the same value which is referenced from multiple places, ``is`` is faster.
 
 
-Time You're Code
-----------------
+Time Your Code
+--------------
 
 While developing a script its good to time it to be aware of any changes in performance, this can be done simply.
 

Modified: trunk/blender/doc/python_api/rst/info_quickstart.rst
===================================================================
--- trunk/blender/doc/python_api/rst/info_quickstart.rst	2012-01-04 02:48:41 UTC (rev 43111)
+++ trunk/blender/doc/python_api/rst/info_quickstart.rst	2012-01-04 03:22:37 UTC (rev 43112)
@@ -262,8 +262,7 @@
 
 #. Click on the button **Run Script**.
 
-#. Move you're mouse into the 3D view, press spacebar for the operator search
-   menu, and type "Simple".
+#. Move your mouse into the 3D view, press spacebar for the operator search menu, and type "Simple".
 
 #. Click on the "Simple Operator" item found in search.
 

Modified: trunk/blender/doc/python_api/rst/info_tips_and_tricks.rst
===================================================================
--- trunk/blender/doc/python_api/rst/info_tips_and_tricks.rst	2012-01-04 02:48:41 UTC (rev 43111)
+++ trunk/blender/doc/python_api/rst/info_tips_and_tricks.rst	2012-01-04 03:22:37 UTC (rev 43112)
@@ -16,7 +16,7 @@
 
 There are 3 main uses for the terminal, these are:
 
-* You can see the output of ``print()`` as you're script runs, which is useful to view debug info.
+* You can see the output of ``print()`` as your script runs, which is useful to view debug info.
 
 * The error trace-back is printed in full to the terminal which won't always generate an error popup in blender's user interface (depending on how the script is executed).
 
@@ -135,15 +135,15 @@
 * if the results can be displayed as text - print them or write them to a file.
 
 
-This can take a little time to setup, but it can be well worth the effort to reduce the time it takes to test changes - you can even have blender running the script ever few seconds with a viewer updating the results, so no need to leave you're text editor to see changes.
+This can take a little time to setup, but it can be well worth the effort to reduce the time it takes to test changes - you can even have blender running the script ever few seconds with a viewer updating the results, so no need to leave your text editor to see changes.
 
 
 Use External Tools
 ==================
 
-When there are no readily available python modules to perform specific tasks it's worth keeping in mind you may be able to have python execute an external command on you're data and read the result back in.
+When there are no readily available python modules to perform specific tasks it's worth keeping in mind you may be able to have python execute an external command on your data and read the result back in.
 
-Using external programs adds an extra dependency and may limit who can use the script but to quickly setup you're own custom pipeline or writing one-off scripts this can be handy.
+Using external programs adds an extra dependency and may limit who can use the script but to quickly setup your own custom pipeline or writing one-off scripts this can be handy.
 
 Examples include:
 
@@ -157,7 +157,7 @@
 Bundled Python & Extensions
 ===========================
 
-The Blender releases distributed from blender.org include a complete python installation on all platforms, this has the disadvantage that any extensions you have installed in you're systems python wont be found by blender.
+The Blender releases distributed from blender.org include a complete python installation on all platforms, this has the disadvantage that any extensions you have installed in your systems python wont be found by blender.
 
 There are 2 ways around this:
 
@@ -166,8 +166,8 @@
 * copy the extensions into blender's python sub-directory so blender can access them, you could also copy the entire python installation into blenders sub-directory, replacing the one blender comes with. This works as long as the python versions match and the paths are created in the same relative locations. Doing this has the advantage that you can redistribute this bundle to others with blender and/or the game player, including any extensions you rely on.
 
 
-Drop Into a Python Interpreter in You're Script
-===============================================
+Drop Into a Python Interpreter in Your Script
+=============================================
 
 In the middle of a script you may want to inspect some variables, run some function and generally dig about to see whats going on.
 
@@ -187,7 +187,7 @@
    code.interact(local=namespace)
 
 
-The next example is an equivalent single line version of the script above which is easier to paste into you're code:
+The next example is an equivalent single line version of the script above which is easier to paste into your code:
 
 .. code-block:: python
 




More information about the Bf-blender-cvs mailing list