Skip to content

Commit 692c4af

Browse files
committed
Update README.md
1 parent 5bc9f12 commit 692c4af

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -255,14 +255,6 @@ If the module hasn't been imported yet (i.e. it is not yet present in sys.module
255255
<b><a href="#">↥ back to top</a></b>
256256
</div>
257257

258-
## Q. How do I interface to C++ objects from Python?
259-
260-
Depending on your requirements, there are many approaches. To do this manually, begin by reading the "Extending and Embedding" document. Realize that for the Python run-time system, there isn't a whole lot of difference between C and C++ -- so the strategy of building a new Python type around a C structure (pointer) type will also work for C++ objects.
261-
262-
<div align="right">
263-
<b><a href="#">↥ back to top</a></b>
264-
</div>
265-
266258
## Q. How do I convert a number to a string?
267259

268260
To convert, e.g., the number 144 to the string '144', use the built-in function str(). If you want a hexadecimal or octal representation, use the built-in functions hex() or oct(). For fancy formatting, use the % operator on strings, e.g. "%04d" % 144 yields '0144' and "%.3f" % (1/3.0) yields '0.333'. See the library reference manual for details.

0 commit comments

Comments
 (0)